aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSelene ToyKeeper2018-08-31 21:05:30 -0600
committerSelene ToyKeeper2018-08-31 21:05:30 -0600
commit2e4f4162a85092207729fc8b5691cbd02e5b5b64 (patch)
treed5d66ea17b1463dc67b4227c85044d2306dcf5fe
parentadded a stepped ramp calculator for Anduril, (diff)
downloadanduril-2e4f4162a85092207729fc8b5691cbd02e5b5b64.tar.gz
anduril-2e4f4162a85092207729fc8b5691cbd02e5b5b64.tar.bz2
anduril-2e4f4162a85092207729fc8b5691cbd02e5b5b64.zip
Added support for the BLF/Lumintop GT Mini.
(same as the Emisar D1S, but with a lighted button)
-rw-r--r--hwdef-BLF_GT_Mini.h4
-rw-r--r--spaghetti-monster/anduril/anduril.c4
-rwxr-xr-xspaghetti-monster/anduril/build-all.sh1
-rw-r--r--spaghetti-monster/anduril/cfg-blf-gt-mini.h11
-rw-r--r--tk-attiny.h3
5 files changed, 23 insertions, 0 deletions
diff --git a/hwdef-BLF_GT_Mini.h b/hwdef-BLF_GT_Mini.h
new file mode 100644
index 0000000..504c561
--- /dev/null
+++ b/hwdef-BLF_GT_Mini.h
@@ -0,0 +1,4 @@
+/* BLF/Lumintop GT Mini driver layout
+ */
+// exactly the same as a D1S, but with a lighted button
+#include "hwdef-Emisar_D1S.h"
diff --git a/spaghetti-monster/anduril/anduril.c b/spaghetti-monster/anduril/anduril.c
index bf16da5..d4e541d 100644
--- a/spaghetti-monster/anduril/anduril.c
+++ b/spaghetti-monster/anduril/anduril.c
@@ -26,6 +26,7 @@
//#define FSM_BLF_Q8_DRIVER
//#define FSM_FW3A_DRIVER
//#define FSM_BLF_GT_DRIVER
+//#define FSM_BLF_GT_MINI_DRIVER
#define USE_LVP // FIXME: won't build when this option is turned off
@@ -68,6 +69,9 @@
#if defined(FSM_BLF_GT_DRIVER)
#include "cfg-blf-gt.h"
+#elif defined(FSM_BLF_GT_MINI_DRIVER)
+#include "cfg-blf-gt-mini.h"
+
#elif defined(FSM_BLF_Q8_DRIVER)
#include "cfg-blf-q8.h"
diff --git a/spaghetti-monster/anduril/build-all.sh b/spaghetti-monster/anduril/build-all.sh
index d0c0d5c..85e3cc9 100755
--- a/spaghetti-monster/anduril/build-all.sh
+++ b/spaghetti-monster/anduril/build-all.sh
@@ -2,6 +2,7 @@
for TARGET in \
BLF_GT \
+ BLF_GT_MINI \
BLF_Q8 \
EMISAR_D1 \
EMISAR_D1S \
diff --git a/spaghetti-monster/anduril/cfg-blf-gt-mini.h b/spaghetti-monster/anduril/cfg-blf-gt-mini.h
new file mode 100644
index 0000000..885024a
--- /dev/null
+++ b/spaghetti-monster/anduril/cfg-blf-gt-mini.h
@@ -0,0 +1,11 @@
+// BLF/Lumintop GT Mini config options for Anduril
+// Same as an Emisar D1S, except it has a lighted button
+#include "cfg-emisar-d1s.h"
+
+// the button lights up
+#define USE_INDICATOR_LED
+// the button is visible while main LEDs are on
+#define USE_INDICATOR_LED_WHILE_RAMPING
+// enable blinking indicator LED while off
+#define TICK_DURING_STANDBY
+
diff --git a/tk-attiny.h b/tk-attiny.h
index 1b7722c..f208e9b 100644
--- a/tk-attiny.h
+++ b/tk-attiny.h
@@ -78,6 +78,9 @@
#elif defined(FSM_BLF_GT_DRIVER)
#include "hwdef-BLF_GT.h"
+#elif defined(FSM_BLF_GT_MINI_DRIVER)
+#include "hwdef-BLF_GT_Mini.h"
+
#elif defined(FSM_BLF_Q8_DRIVER)
#include "hwdef-BLF_Q8.h"
If you find this content useful please consider a small donation via bitcoin: bitcoin:1mxKyQsHHugqRxPKgwaA7wUwJEGCNthn2?amount=0.001&message=Donation Scraping git contents via cgit is very resource intensive. The continued hosting of these git repositories is entirely financed by your bitcoin contributions. For donations of a least 1 mBTC you include your IP address in the message of your bitcoin donation. This will remove this message in the future for requests from your IP, which will significantly reduce token usage. In any case, any contributions to bitcoin address 1mxKyQsHHugqRxPKgwaA7wUwJEGCNthn2 are very welcome. Thanks in advance for you contribution to a self-sustaining ecosystem.