aboutsummaryrefslogtreecommitdiff
path: root/hw/lumintop/fw3x-lume1
diff options
context:
space:
mode:
authorSelene ToyKeeper2023-11-03 10:53:34 -0600
committerSelene ToyKeeper2023-11-03 10:53:34 -0600
commitc798ab3e78d4ca857c9aa6dc283176df1769becd (patch)
treea880468721171db1ace5b8e968fe29480b694466 /hw/lumintop/fw3x-lume1
parentmoved variant builds under their parent, like "d4-219" -> "d4/219" (diff)
downloadanduril-c798ab3e78d4ca857c9aa6dc283176df1769becd.tar.gz
anduril-c798ab3e78d4ca857c9aa6dc283176df1769becd.tar.bz2
anduril-c798ab3e78d4ca857c9aa6dc283176df1769becd.zip
moved ATTINY and MODEL_NUMBER into $target/arch and $target/model,
and updated other scripts and files accordingly
Diffstat (limited to 'hw/lumintop/fw3x-lume1')
-rw-r--r--hw/lumintop/fw3x-lume1/anduril.h2
-rw-r--r--hw/lumintop/fw3x-lume1/arch1
-rw-r--r--hw/lumintop/fw3x-lume1/hwdef.h1
-rw-r--r--hw/lumintop/fw3x-lume1/model1
4 files changed, 2 insertions, 3 deletions
diff --git a/hw/lumintop/fw3x-lume1/anduril.h b/hw/lumintop/fw3x-lume1/anduril.h
index 2ea540c..b208fbc 100644
--- a/hw/lumintop/fw3x-lume1/anduril.h
+++ b/hw/lumintop/fw3x-lume1/anduril.h
@@ -11,9 +11,7 @@
* - 85: https://ww1.microchip.com/downloads/en/DeviceDoc/Atmel-2586-AVR-8-bit-Microcontroller-ATtiny25-ATtiny45-ATtiny85_Datasheet.pdf
*/
-#define MODEL_NUMBER "0314"
#include "lumintop/fw3x-lume1/hwdef.h"
-// ATTINY: 1634
// set this light for 50C thermal ceiling
#undef DEFAULT_THERM_CEIL
diff --git a/hw/lumintop/fw3x-lume1/arch b/hw/lumintop/fw3x-lume1/arch
new file mode 100644
index 0000000..5d99bab
--- /dev/null
+++ b/hw/lumintop/fw3x-lume1/arch
@@ -0,0 +1 @@
+attiny1634
diff --git a/hw/lumintop/fw3x-lume1/hwdef.h b/hw/lumintop/fw3x-lume1/hwdef.h
index 8c673b3..4025861 100644
--- a/hw/lumintop/fw3x-lume1/hwdef.h
+++ b/hw/lumintop/fw3x-lume1/hwdef.h
@@ -34,7 +34,6 @@
* Another pin is used for DD FET control.
*/
-#define ATTINY 1634
#include <avr/io.h>
#define HWDEF_C_FILE lumintop/fw3x-lume1/hwdef.c
diff --git a/hw/lumintop/fw3x-lume1/model b/hw/lumintop/fw3x-lume1/model
new file mode 100644
index 0000000..fb9c4db
--- /dev/null
+++ b/hw/lumintop/fw3x-lume1/model
@@ -0,0 +1 @@
+0314