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/mateminco/arch | 1 + hw/mateminco/mf01-mini/anduril.h | 1 - hw/mateminco/mf01-mini/hwdef.h | 1 - hw/mateminco/mf01-mini/model | 1 + hw/mateminco/mf01s/anduril.h | 2 -- hw/mateminco/mf01s/hwdef.h | 1 - hw/mateminco/mf01s/model | 1 + hw/mateminco/mt35-mini/anduril.h | 2 -- hw/mateminco/mt35-mini/hwdef.h | 1 - hw/mateminco/mt35-mini/model | 1 + 10 files changed, 4 insertions(+), 8 deletions(-) create mode 100644 hw/mateminco/arch create mode 100644 hw/mateminco/mf01-mini/model create mode 100644 hw/mateminco/mf01s/model create mode 100644 hw/mateminco/mt35-mini/model (limited to 'hw/mateminco') diff --git a/hw/mateminco/arch b/hw/mateminco/arch new file mode 100644 index 0000000..d16b0f8 --- /dev/null +++ b/hw/mateminco/arch @@ -0,0 +1 @@ +attiny85 diff --git a/hw/mateminco/mf01-mini/anduril.h b/hw/mateminco/mf01-mini/anduril.h index a9e4816..e42cac3 100644 --- a/hw/mateminco/mf01-mini/anduril.h +++ b/hw/mateminco/mf01-mini/anduril.h @@ -3,7 +3,6 @@ // SPDX-License-Identifier: GPL-3.0-or-later #pragma once -#define MODEL_NUMBER "0521" #include "mateminco/mf01-mini/hwdef.h" // the button lights up diff --git a/hw/mateminco/mf01-mini/hwdef.h b/hw/mateminco/mf01-mini/hwdef.h index 663e1d2..f245042 100644 --- a/hw/mateminco/mf01-mini/hwdef.h +++ b/hw/mateminco/mf01-mini/hwdef.h @@ -12,7 +12,6 @@ * ---- */ -#define ATTINY 85 #include #define HWDEF_C_FILE lumintop/fw3a/hwdef.c diff --git a/hw/mateminco/mf01-mini/model b/hw/mateminco/mf01-mini/model new file mode 100644 index 0000000..8b57496 --- /dev/null +++ b/hw/mateminco/mf01-mini/model @@ -0,0 +1 @@ +0521 diff --git a/hw/mateminco/mf01s/anduril.h b/hw/mateminco/mf01s/anduril.h index 573c71d..6b8b7c2 100644 --- a/hw/mateminco/mf01s/anduril.h +++ b/hw/mateminco/mf01s/anduril.h @@ -3,9 +3,7 @@ // SPDX-License-Identifier: GPL-3.0-or-later #pragma once -#define MODEL_NUMBER "0511" #include "mateminco/mf01s/hwdef.h" -// ATTINY: 85 // the button lights up #define USE_INDICATOR_LED diff --git a/hw/mateminco/mf01s/hwdef.h b/hw/mateminco/mf01s/hwdef.h index 3d88975..a346807 100644 --- a/hw/mateminco/mf01s/hwdef.h +++ b/hw/mateminco/mf01s/hwdef.h @@ -12,7 +12,6 @@ * ---- */ -#define ATTINY 85 #include #define HWDEF_C_FILE hank/emisar-d4/hwdef.c diff --git a/hw/mateminco/mf01s/model b/hw/mateminco/mf01s/model new file mode 100644 index 0000000..4b975a0 --- /dev/null +++ b/hw/mateminco/mf01s/model @@ -0,0 +1 @@ +0511 diff --git a/hw/mateminco/mt35-mini/anduril.h b/hw/mateminco/mt35-mini/anduril.h index 506f851..07cbf25 100644 --- a/hw/mateminco/mt35-mini/anduril.h +++ b/hw/mateminco/mt35-mini/anduril.h @@ -3,9 +3,7 @@ // SPDX-License-Identifier: GPL-3.0-or-later #pragma once -#define MODEL_NUMBER "0531" #include "mateminco/mt35-mini/hwdef.h" -// ATTINY: 85 // the button lights up #define USE_INDICATOR_LED diff --git a/hw/mateminco/mt35-mini/hwdef.h b/hw/mateminco/mt35-mini/hwdef.h index c27f910..aec4eaf 100644 --- a/hw/mateminco/mt35-mini/hwdef.h +++ b/hw/mateminco/mt35-mini/hwdef.h @@ -12,7 +12,6 @@ * ---- */ -#define ATTINY 85 #include #define HWDEF_C_FILE hank/emisar-d4/hwdef.c diff --git a/hw/mateminco/mt35-mini/model b/hw/mateminco/mt35-mini/model new file mode 100644 index 0000000..ae0d58a --- /dev/null +++ b/hw/mateminco/mt35-mini/model @@ -0,0 +1 @@ +0531 -- cgit v1.2.3