diff options
| author | Selene ToyKeeper | 2018-07-01 19:48:49 -0600 |
|---|---|---|
| committer | Selene ToyKeeper | 2018-07-01 19:48:49 -0600 |
| commit | ebe2cf08b60c5fbae19b1af3098cde3d134e4803 (patch) | |
| tree | d466f3599591f9d6883e4dbbc63aef84e010266b | |
| parent | Made it easier to define thermal parameters per driver type. (diff) | |
| download | anduril-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)
| -rw-r--r-- | hwdef-Emisar_D1.h | 4 | ||||
| -rw-r--r-- | hwdef-Emisar_D1S.h | 4 | ||||
| -rwxr-xr-x | spaghetti-monster/anduril/build-all.sh | 2 | ||||
| -rw-r--r-- | spaghetti-monster/anduril/cfg-emisar-d1.h | 6 | ||||
| -rw-r--r-- | spaghetti-monster/anduril/cfg-emisar-d1s.h | 6 | ||||
| -rw-r--r-- | tk-attiny.h | 6 |
6 files changed, 28 insertions, 0 deletions
diff --git a/hwdef-Emisar_D1.h b/hwdef-Emisar_D1.h new file mode 100644 index 0000000..6df8705 --- /dev/null +++ b/hwdef-Emisar_D1.h @@ -0,0 +1,4 @@ +/* Emisar D1 driver layout + */ +// D1 driver is exactly the same as a D4 +#include "hwdef-Emisar_D4.h" diff --git a/hwdef-Emisar_D1S.h b/hwdef-Emisar_D1S.h new file mode 100644 index 0000000..31792c7 --- /dev/null +++ b/hwdef-Emisar_D1S.h @@ -0,0 +1,4 @@ +/* Emisar D1S driver layout + */ +// D1S driver is exactly the same as a D4 +#include "hwdef-Emisar_D4.h" 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 diff --git a/tk-attiny.h b/tk-attiny.h index b3edb6d..a36fef0 100644 --- a/tk-attiny.h +++ b/tk-attiny.h @@ -84,6 +84,12 @@ #elif defined(FSM_EMISAR_D4_DRIVER) #include "hwdef-Emisar_D4.h" +#elif defined(FSM_EMISAR_D1_DRIVER) +#include "hwdef-Emisar_D1.h" + +#elif defined(FSM_EMISAR_D1S_DRIVER) +#include "hwdef-Emisar_D1S.h" + #elif defined(FSM_FW3A_DRIVER) #include "hwdef-FW3A.h" |
