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/hank/emisar-d4s/219/anduril.h | 2 -- hw/hank/emisar-d4s/219/model | 1 + hw/hank/emisar-d4s/anduril.h | 2 -- hw/hank/emisar-d4s/arch | 1 + hw/hank/emisar-d4s/model | 1 + 5 files changed, 3 insertions(+), 4 deletions(-) create mode 100644 hw/hank/emisar-d4s/219/model create mode 100644 hw/hank/emisar-d4s/arch create mode 100644 hw/hank/emisar-d4s/model (limited to 'hw/hank/emisar-d4s') diff --git a/hw/hank/emisar-d4s/219/anduril.h b/hw/hank/emisar-d4s/219/anduril.h index 81ce6f3..7d9503b 100644 --- a/hw/hank/emisar-d4s/219/anduril.h +++ b/hw/hank/emisar-d4s/219/anduril.h @@ -6,8 +6,6 @@ // same as D4S but with FET modes limited to 80% power // to avoid destroying the LEDs #include "hank/emisar-d4s/anduril.h" -#undef MODEL_NUMBER -#define MODEL_NUMBER "0132" // don't turn off first channel at turbo level #undef PWM1_LEVELS diff --git a/hw/hank/emisar-d4s/219/model b/hw/hank/emisar-d4s/219/model new file mode 100644 index 0000000..2c9caac --- /dev/null +++ b/hw/hank/emisar-d4s/219/model @@ -0,0 +1 @@ +0132 diff --git a/hw/hank/emisar-d4s/anduril.h b/hw/hank/emisar-d4s/anduril.h index 0efe107..3f53cc9 100644 --- a/hw/hank/emisar-d4s/anduril.h +++ b/hw/hank/emisar-d4s/anduril.h @@ -3,10 +3,8 @@ // SPDX-License-Identifier: GPL-3.0-or-later #pragma once -#define MODEL_NUMBER "0131" #include "hank/emisar-d4s/hwdef.h" #include "hank/anduril.h" -// ATTINY: 85 // the button lights up (on some models) #define USE_INDICATOR_LED diff --git a/hw/hank/emisar-d4s/arch b/hw/hank/emisar-d4s/arch new file mode 100644 index 0000000..d16b0f8 --- /dev/null +++ b/hw/hank/emisar-d4s/arch @@ -0,0 +1 @@ +attiny85 diff --git a/hw/hank/emisar-d4s/model b/hw/hank/emisar-d4s/model new file mode 100644 index 0000000..7063c46 --- /dev/null +++ b/hw/hank/emisar-d4s/model @@ -0,0 +1 @@ +0131 -- cgit v1.2.3