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/blf-gt/anduril.h | 2 -- hw/lumintop/blf-gt/arch | 1 + hw/lumintop/blf-gt/hwdef.h | 1 - hw/lumintop/blf-gt/model | 1 + 4 files changed, 2 insertions(+), 3 deletions(-) create mode 100644 hw/lumintop/blf-gt/arch create mode 100644 hw/lumintop/blf-gt/model (limited to 'hw/lumintop/blf-gt') diff --git a/hw/lumintop/blf-gt/anduril.h b/hw/lumintop/blf-gt/anduril.h index d06b1fa..2fc359e 100644 --- a/hw/lumintop/blf-gt/anduril.h +++ b/hw/lumintop/blf-gt/anduril.h @@ -3,9 +3,7 @@ // SPDX-License-Identifier: GPL-3.0-or-later #pragma once -#define MODEL_NUMBER "0321" #include "lumintop/blf-gt/hwdef.h" -// ATTINY: 85 // the button lights up #define USE_INDICATOR_LED diff --git a/hw/lumintop/blf-gt/arch b/hw/lumintop/blf-gt/arch new file mode 100644 index 0000000..d16b0f8 --- /dev/null +++ b/hw/lumintop/blf-gt/arch @@ -0,0 +1 @@ +attiny85 diff --git a/hw/lumintop/blf-gt/hwdef.h b/hw/lumintop/blf-gt/hwdef.h index bd23086..60306bf 100644 --- a/hw/lumintop/blf-gt/hwdef.h +++ b/hw/lumintop/blf-gt/hwdef.h @@ -16,7 +16,6 @@ * and its output gets PWM'd by pin 5. */ -#define ATTINY 85 #include #define HWDEF_C_FILE hank/emisar-d4/hwdef.c diff --git a/hw/lumintop/blf-gt/model b/hw/lumintop/blf-gt/model new file mode 100644 index 0000000..b7fb894 --- /dev/null +++ b/hw/lumintop/blf-gt/model @@ -0,0 +1 @@ +0321 -- cgit v1.2.3