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-d1v2/7135-fet/anduril.h | 3 --- hw/hank/emisar-d1v2/7135-fet/model | 1 + hw/hank/emisar-d1v2/arch | 1 + hw/hank/emisar-d1v2/linear-fet/anduril.h | 3 --- hw/hank/emisar-d1v2/linear-fet/model | 1 + hw/hank/emisar-d1v2/nofet/anduril.h | 3 --- hw/hank/emisar-d1v2/nofet/model | 1 + 7 files changed, 4 insertions(+), 9 deletions(-) create mode 100644 hw/hank/emisar-d1v2/7135-fet/model create mode 100644 hw/hank/emisar-d1v2/arch create mode 100644 hw/hank/emisar-d1v2/linear-fet/model create mode 100644 hw/hank/emisar-d1v2/nofet/model (limited to 'hw/hank/emisar-d1v2') diff --git a/hw/hank/emisar-d1v2/7135-fet/anduril.h b/hw/hank/emisar-d1v2/7135-fet/anduril.h index 200f93f..968162a 100644 --- a/hw/hank/emisar-d1v2/7135-fet/anduril.h +++ b/hw/hank/emisar-d1v2/7135-fet/anduril.h @@ -3,12 +3,9 @@ // SPDX-License-Identifier: GPL-3.0-or-later #pragma once -// ATTINY: 1634 // same as Emisar D4v2, mostly // (was only made for a short time, not many people have one) #include "hank/emisar-d4v2/anduril.h" -#undef MODEL_NUMBER -#define MODEL_NUMBER "0123" // some models use a simple button LED, others use RGB... // ... so include support for both diff --git a/hw/hank/emisar-d1v2/7135-fet/model b/hw/hank/emisar-d1v2/7135-fet/model new file mode 100644 index 0000000..40381e2 --- /dev/null +++ b/hw/hank/emisar-d1v2/7135-fet/model @@ -0,0 +1 @@ +0123 diff --git a/hw/hank/emisar-d1v2/arch b/hw/hank/emisar-d1v2/arch new file mode 100644 index 0000000..5d99bab --- /dev/null +++ b/hw/hank/emisar-d1v2/arch @@ -0,0 +1 @@ +attiny1634 diff --git a/hw/hank/emisar-d1v2/linear-fet/anduril.h b/hw/hank/emisar-d1v2/linear-fet/anduril.h index 7131759..1d09001 100644 --- a/hw/hank/emisar-d1v2/linear-fet/anduril.h +++ b/hw/hank/emisar-d1v2/linear-fet/anduril.h @@ -4,11 +4,8 @@ // SPDX-License-Identifier: GPL-3.0-or-later #pragma once -// ATTINY: 1634 // similar to a Noctigon KR4, sort of #include "hank/noctigon-kr4/anduril.h" -#undef MODEL_NUMBER -#define MODEL_NUMBER "0124" // some models use a simple button LED, others use RGB... // ... so include support for both diff --git a/hw/hank/emisar-d1v2/linear-fet/model b/hw/hank/emisar-d1v2/linear-fet/model new file mode 100644 index 0000000..0e92a1c --- /dev/null +++ b/hw/hank/emisar-d1v2/linear-fet/model @@ -0,0 +1 @@ +0124 diff --git a/hw/hank/emisar-d1v2/nofet/anduril.h b/hw/hank/emisar-d1v2/nofet/anduril.h index eae6215..1c320e7 100644 --- a/hw/hank/emisar-d1v2/nofet/anduril.h +++ b/hw/hank/emisar-d1v2/nofet/anduril.h @@ -4,11 +4,8 @@ // SPDX-License-Identifier: GPL-3.0-or-later #pragma once -// ATTINY: 1634 // similar to a Noctigon KR4, sort of #include "hank/noctigon-kr4/nofet/anduril.h" -#undef MODEL_NUMBER -#define MODEL_NUMBER "0125" // some models use a simple button LED, others use RGB... // ... so include support for both diff --git a/hw/hank/emisar-d1v2/nofet/model b/hw/hank/emisar-d1v2/nofet/model new file mode 100644 index 0000000..6f55c26 --- /dev/null +++ b/hw/hank/emisar-d1v2/nofet/model @@ -0,0 +1 @@ +0125 -- cgit v1.2.3