aboutsummaryrefslogtreecommitdiff
path: root/spaghetti-monster
diff options
context:
space:
mode:
authorSelene ToyKeeper2018-07-01 19:48:49 -0600
committerSelene ToyKeeper2018-07-01 19:48:49 -0600
commitebe2cf08b60c5fbae19b1af3098cde3d134e4803 (patch)
treed466f3599591f9d6883e4dbbc63aef84e010266b /spaghetti-monster
parentMade it easier to define thermal parameters per driver type. (diff)
downloadanduril-ebe2cf08b60c5fbae19b1af3098cde3d134e4803.tar.gz
anduril-ebe2cf08b60c5fbae19b1af3098cde3d134e4803.tar.bz2
anduril-ebe2cf08b60c5fbae19b1af3098cde3d134e4803.zip
Added hardware profiles and build targets for Emisar D1 and D1S.
(same as D4, except with lower power-to-mass ratio)
Diffstat (limited to '')
-rwxr-xr-xspaghetti-monster/anduril/build-all.sh2
-rw-r--r--spaghetti-monster/anduril/cfg-emisar-d1.h6
-rw-r--r--spaghetti-monster/anduril/cfg-emisar-d1s.h6
3 files changed, 14 insertions, 0 deletions
diff --git a/spaghetti-monster/anduril/build-all.sh b/spaghetti-monster/anduril/build-all.sh
index 4100805..07f33b1 100755
--- a/spaghetti-monster/anduril/build-all.sh
+++ b/spaghetti-monster/anduril/build-all.sh
@@ -3,6 +3,8 @@
for TARGET in \
BLF_GT \
BLF_Q8 \
+ EMISAR_D1 \
+ EMISAR_D1S \
EMISAR_D4 \
FW3A \
; do
diff --git a/spaghetti-monster/anduril/cfg-emisar-d1.h b/spaghetti-monster/anduril/cfg-emisar-d1.h
new file mode 100644
index 0000000..e9064ac
--- /dev/null
+++ b/spaghetti-monster/anduril/cfg-emisar-d1.h
@@ -0,0 +1,6 @@
+// Emisar D1 config options for Anduril
+#include "cfg-emisar-d4.h"
+
+// stop panicking at ~75% power or ~1000 lm (D1 has a decent power-to-thermal-mass ratio)
+#undef THERM_FASTER_LEVEL
+#define THERM_FASTER_LEVEL (RAMP_SIZE*9/10) // throttle back faster when high
diff --git a/spaghetti-monster/anduril/cfg-emisar-d1s.h b/spaghetti-monster/anduril/cfg-emisar-d1s.h
new file mode 100644
index 0000000..7e73fa7
--- /dev/null
+++ b/spaghetti-monster/anduril/cfg-emisar-d1s.h
@@ -0,0 +1,6 @@
+// Emisar D1S config options for Anduril
+#include "cfg-emisar-d4.h"
+
+// stop panicking at ~90% power or ~1200 lm (D1S has a good power-to-thermal-mass ratio)
+#undef THERM_FASTER_LEVEL
+#define THERM_FASTER_LEVEL 144 // throttle back faster when high