aboutsummaryrefslogtreecommitdiff
path: root/spaghetti-monster
diff options
context:
space:
mode:
authorSelene ToyKeeper2019-05-10 01:13:57 -0600
committerSelene ToyKeeper2019-05-10 01:13:57 -0600
commitc135d7f36bbb1cc1a122b7440f87c6f001a11d12 (patch)
treeefee79aa8bc42167ed2a3ee156848dcbbbe062f5 /spaghetti-monster
parent"make clean" shouldn't remove cfg files native to this directory (diff)
downloadanduril-c135d7f36bbb1cc1a122b7440f87c6f001a11d12.tar.gz
anduril-c135d7f36bbb1cc1a122b7440f87c6f001a11d12.tar.bz2
anduril-c135d7f36bbb1cc1a122b7440f87c6f001a11d12.zip
renamed ff-edc-thrower to ff-e01, now that it has a name... also, added a separate config file for it for Anduril
Diffstat (limited to 'spaghetti-monster')
-rw-r--r--spaghetti-monster/anduril/cfg-ff-e01.h31
-rwxr-xr-xspaghetti-monster/fireflies-ui/build-all.sh2
-rw-r--r--spaghetti-monster/fireflies-ui/cfg-ff-e01.h (renamed from spaghetti-monster/fireflies-ui/cfg-ff-edc-thrower.h)0
3 files changed, 32 insertions, 1 deletions
diff --git a/spaghetti-monster/anduril/cfg-ff-e01.h b/spaghetti-monster/anduril/cfg-ff-e01.h
new file mode 100644
index 0000000..432f37b
--- /dev/null
+++ b/spaghetti-monster/anduril/cfg-ff-e01.h
@@ -0,0 +1,31 @@
+// Fireflies E01 SST-40 thrower config options for Anduril
+#include "cfg-ff-pl47.h"
+
+// disable indicator LED
+#undef USE_INDICATOR_LED
+#undef TICK_DURING_STANDBY
+
+// ceiling is level 130/150 (50% power)
+#undef RAMP_SMOOTH_CEIL
+#define RAMP_SMOOTH_CEIL 130
+#define BLINK_AT_RAMP_CEILING
+
+// 13, 36, 59, [83], 106, 130 (83 is highest regulated)
+#undef RAMP_DISCRETE_FLOOR
+#define RAMP_DISCRETE_FLOOR 13
+#undef RAMP_DISCRETE_CEIL
+#define RAMP_DISCRETE_CEIL RAMP_SMOOTH_CEIL
+#undef RAMP_DISCRETE_STEPS
+#define RAMP_DISCRETE_STEPS 6
+
+// regulate down faster when the FET is active, slower otherwise
+#undef THERM_FASTER_LEVEL
+#define THERM_FASTER_LEVEL 130 // throttle back faster when high
+
+// play it safe, don't try to regulate above the recommended safe level
+#ifndef THERM_HARD_TURBO_DROP
+#define THERM_HARD_TURBO_DROP
+#endif
+
+// shortcut for first-time setup
+#define USE_TENCLICK_THERMAL_CONFIG
diff --git a/spaghetti-monster/fireflies-ui/build-all.sh b/spaghetti-monster/fireflies-ui/build-all.sh
index 41d92d0..81ebd97 100755
--- a/spaghetti-monster/fireflies-ui/build-all.sh
+++ b/spaghetti-monster/fireflies-ui/build-all.sh
@@ -1,6 +1,6 @@
#!/bin/sh
-cp -av ../anduril/cfg-ff*.h .
+cp -av --no-clobber ../anduril/cfg-ff*.h .
UI=fireflies-ui
diff --git a/spaghetti-monster/fireflies-ui/cfg-ff-edc-thrower.h b/spaghetti-monster/fireflies-ui/cfg-ff-e01.h
index 31be0ef..31be0ef 100644
--- a/spaghetti-monster/fireflies-ui/cfg-ff-edc-thrower.h
+++ b/spaghetti-monster/fireflies-ui/cfg-ff-e01.h