aboutsummaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorSelene ToyKeeper2018-10-10 21:29:22 -0600
committerSelene ToyKeeper2018-10-10 21:29:22 -0600
commit85e0f22130db548c25e2c7677b02087211571306 (patch)
tree00d56b45fa181418fc2ce72bfa93f766008bdfe0 /hw
parentFixed location of an #endif (diff)
parentapplied thermal target bugfix from Anduril (diff)
downloadanduril-85e0f22130db548c25e2c7677b02087211571306.tar.gz
anduril-85e0f22130db548c25e2c7677b02087211571306.tar.bz2
anduril-85e0f22130db548c25e2c7677b02087211571306.zip
merged updates from fsm branch
Diffstat (limited to '')
-rw-r--r--hwdef-FF_PL47.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/hwdef-FF_PL47.h b/hwdef-FF_PL47.h
new file mode 100644
index 0000000..4189220
--- /dev/null
+++ b/hwdef-FF_PL47.h
@@ -0,0 +1,24 @@
+/* Fireflies PL47 driver layout
+ */
+// same as a D4S, basically
+#include "hwdef-Emisar_D4S.h"
+#undef FSM_EMISAR_D4S_DRIVER
+#undef FSM_EMISAR_D4_DRIVER
+
+// ... except the PL47 has aux LEDs on pin 7
+#ifdef AUXLED_PIN
+#undef AUXLED_PIN
+#endif
+#define AUXLED_PIN PB2 // pin 7
+
+// ... and switch LEDs on pin 3
+#ifdef AUXLED2_PIN
+#undef AUXLED2_PIN
+#endif
+#define AUXLED2_PIN PB4 // pin 3
+
+// average drop across diode on this hardware
+#ifdef VOLTAGE_FUDGE_FACTOR
+#undef VOLTAGE_FUDGE_FACTOR
+#endif
+#define VOLTAGE_FUDGE_FACTOR 7 // add 0.35V
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.