From c798ab3e78d4ca857c9aa6dc283176df1769becd Mon Sep 17 00:00:00 2001 From: Selene ToyKeeper Date: Fri, 3 Nov 2023 10:53:34 -0600 Subject: moved ATTINY and MODEL_NUMBER into $target/arch and $target/model, and updated other scripts and files accordingly --- hw/lumintop/fw3x-lume1/anduril.h | 2 -- hw/lumintop/fw3x-lume1/arch | 1 + hw/lumintop/fw3x-lume1/hwdef.h | 1 - hw/lumintop/fw3x-lume1/model | 1 + 4 files changed, 2 insertions(+), 3 deletions(-) create mode 100644 hw/lumintop/fw3x-lume1/arch create mode 100644 hw/lumintop/fw3x-lume1/model (limited to 'hw/lumintop/fw3x-lume1') 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 #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 -- cgit v1.2.3