aboutsummaryrefslogtreecommitdiff
path: root/spaghetti-monster
diff options
context:
space:
mode:
authorSelene ToyKeeper2020-03-22 01:25:55 -0600
committerSelene ToyKeeper2020-03-22 01:25:55 -0600
commitff9eedb56927387201f96f90bf3d39b99f86e283 (patch)
treea78ca084d653d6207ddd16ec0a4195afa68d2f1d /spaghetti-monster
parentmerged Noctigon K1 branch, which changes a few things... (diff)
downloadanduril-ff9eedb56927387201f96f90bf3d39b99f86e283.tar.gz
anduril-ff9eedb56927387201f96f90bf3d39b99f86e283.tar.bz2
anduril-ff9eedb56927387201f96f90bf3d39b99f86e283.zip
apparently the D1 can also be purchased with a D4v2 driver... so it's basically a D1v2
Diffstat (limited to 'spaghetti-monster')
-rw-r--r--spaghetti-monster/anduril/cfg-emisar-d1v2.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/spaghetti-monster/anduril/cfg-emisar-d1v2.h b/spaghetti-monster/anduril/cfg-emisar-d1v2.h
new file mode 100644
index 0000000..63cb0e9
--- /dev/null
+++ b/spaghetti-monster/anduril/cfg-emisar-d1v2.h
@@ -0,0 +1,17 @@
+// Emisar D1v2 config options for Anduril (D1 w/ D4v2 driver)
+// ATTINY: 1634
+// same as Emisar D4v2, mostly
+#include "cfg-emisar-d4v2.h"
+
+// there are no aux LED on a D1
+#undef USE_AUX_RGB_LEDS
+// ... and no button LED
+#undef USE_BUTTON_LED
+// no aux LEDs means no need for sleep ticks
+#undef TICK_DURING_STANDBY
+
+// stop panicking at ~75% power or ~1000 lm (D1 has a decent power-to-thermal-mass ratio)
+#ifdef THERM_FASTER_LEVEL
+#undef THERM_FASTER_LEVEL
+#endif
+#define THERM_FASTER_LEVEL (RAMP_SIZE*9/10) // throttle back faster when high