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/wurkkos/arch | 1 + hw/wurkkos/fc13/anduril.h | 3 --- hw/wurkkos/fc13/model | 1 + hw/wurkkos/ts10/anduril.h | 2 -- hw/wurkkos/ts10/hwdef.h | 1 - hw/wurkkos/ts10/model | 1 + hw/wurkkos/ts10/rgbaux/anduril.h | 3 --- hw/wurkkos/ts10/rgbaux/model | 1 + hw/wurkkos/ts11/anduril.h | 3 --- hw/wurkkos/ts11/model | 1 + hw/wurkkos/ts25/anduril.h | 2 -- hw/wurkkos/ts25/hwdef.h | 1 - hw/wurkkos/ts25/model | 1 + 13 files changed, 6 insertions(+), 15 deletions(-) create mode 100644 hw/wurkkos/arch create mode 100644 hw/wurkkos/fc13/model create mode 100644 hw/wurkkos/ts10/model create mode 100644 hw/wurkkos/ts10/rgbaux/model create mode 100644 hw/wurkkos/ts11/model create mode 100644 hw/wurkkos/ts25/model (limited to 'hw/wurkkos') diff --git a/hw/wurkkos/arch b/hw/wurkkos/arch new file mode 100644 index 0000000..cda1996 --- /dev/null +++ b/hw/wurkkos/arch @@ -0,0 +1 @@ +attiny1616 diff --git a/hw/wurkkos/fc13/anduril.h b/hw/wurkkos/fc13/anduril.h index c3ae0dc..db766c7 100644 --- a/hw/wurkkos/fc13/anduril.h +++ b/hw/wurkkos/fc13/anduril.h @@ -3,10 +3,7 @@ // SPDX-License-Identifier: GPL-3.0-or-later #pragma once -// ATTINY: 1616 #include "wurkkos/ts25/anduril.h" -#undef MODEL_NUMBER -#define MODEL_NUMBER "0716" // this light has three aux LED channels: R, G, B #define USE_AUX_RGB_LEDS diff --git a/hw/wurkkos/fc13/model b/hw/wurkkos/fc13/model new file mode 100644 index 0000000..8e22c33 --- /dev/null +++ b/hw/wurkkos/fc13/model @@ -0,0 +1 @@ +0716 diff --git a/hw/wurkkos/ts10/anduril.h b/hw/wurkkos/ts10/anduril.h index e84b7e5..de07415 100644 --- a/hw/wurkkos/ts10/anduril.h +++ b/hw/wurkkos/ts10/anduril.h @@ -4,10 +4,8 @@ #pragma once // same as the BLF Q8 T1616, mostly (added Dynamic PWM) -#define MODEL_NUMBER "0714" #include "wurkkos/ts10/hwdef.h" #include "wurkkos/anduril.h" -// ATTINY: 1616 // uses forward-facing aux LEDs #define USE_INDICATOR_LED diff --git a/hw/wurkkos/ts10/hwdef.h b/hw/wurkkos/ts10/hwdef.h index 157f2da..b1239b8 100644 --- a/hw/wurkkos/ts10/hwdef.h +++ b/hw/wurkkos/ts10/hwdef.h @@ -13,7 +13,6 @@ * Voltage: VCC */ -#define ATTINY 1616 #include #define HWDEF_C_FILE wurkkos/ts10/hwdef.c diff --git a/hw/wurkkos/ts10/model b/hw/wurkkos/ts10/model new file mode 100644 index 0000000..f968dc1 --- /dev/null +++ b/hw/wurkkos/ts10/model @@ -0,0 +1 @@ +0714 diff --git a/hw/wurkkos/ts10/rgbaux/anduril.h b/hw/wurkkos/ts10/rgbaux/anduril.h index e4ff8ff..a9d4f90 100644 --- a/hw/wurkkos/ts10/rgbaux/anduril.h +++ b/hw/wurkkos/ts10/rgbaux/anduril.h @@ -5,9 +5,6 @@ // most things are the same as TS25 #include "wurkkos/ts25/anduril.h" -#undef MODEL_NUMBER -#define MODEL_NUMBER "0713" -// ATTINY: 1616 ///// apply some config from the TS10 ///// diff --git a/hw/wurkkos/ts10/rgbaux/model b/hw/wurkkos/ts10/rgbaux/model new file mode 100644 index 0000000..01af7ad --- /dev/null +++ b/hw/wurkkos/ts10/rgbaux/model @@ -0,0 +1 @@ +0713 diff --git a/hw/wurkkos/ts11/anduril.h b/hw/wurkkos/ts11/anduril.h index dd6eb57..169c848 100644 --- a/hw/wurkkos/ts11/anduril.h +++ b/hw/wurkkos/ts11/anduril.h @@ -3,10 +3,7 @@ // SPDX-License-Identifier: GPL-3.0-or-later #pragma once -// ATTINY: 1616 #include "wurkkos/ts25/anduril.h" -#undef MODEL_NUMBER -#define MODEL_NUMBER "0717" // this light has three aux LED channels: R, G, B #define USE_AUX_RGB_LEDS diff --git a/hw/wurkkos/ts11/model b/hw/wurkkos/ts11/model new file mode 100644 index 0000000..f0c0375 --- /dev/null +++ b/hw/wurkkos/ts11/model @@ -0,0 +1 @@ +0717 diff --git a/hw/wurkkos/ts25/anduril.h b/hw/wurkkos/ts25/anduril.h index 5cddcd4..722bc5d 100644 --- a/hw/wurkkos/ts25/anduril.h +++ b/hw/wurkkos/ts25/anduril.h @@ -3,10 +3,8 @@ // SPDX-License-Identifier: GPL-3.0-or-later #pragma once -#define MODEL_NUMBER "0715" #include "wurkkos/ts25/hwdef.h" #include "wurkkos/anduril.h" -// ATTINY: 1616 // this light has three aux LED channels: R, G, B #define USE_AUX_RGB_LEDS diff --git a/hw/wurkkos/ts25/hwdef.h b/hw/wurkkos/ts25/hwdef.h index 0604432..024a18d 100644 --- a/hw/wurkkos/ts25/hwdef.h +++ b/hw/wurkkos/ts25/hwdef.h @@ -14,7 +14,6 @@ * Aux Blue: PC1 */ -#define ATTINY 1616 #include #define HWDEF_C_FILE wurkkos/ts25/hwdef.c diff --git a/hw/wurkkos/ts25/model b/hw/wurkkos/ts25/model new file mode 100644 index 0000000..e046f64 --- /dev/null +++ b/hw/wurkkos/ts25/model @@ -0,0 +1 @@ +0715 -- cgit v1.2.3