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/gchart/fet1-t1616/anduril.h | 2 -- hw/gchart/fet1-t1616/arch | 1 + hw/gchart/fet1-t1616/hwdef.h | 1 - hw/gchart/fet1-t1616/model | 1 + 4 files changed, 2 insertions(+), 3 deletions(-) create mode 100644 hw/gchart/fet1-t1616/arch create mode 100644 hw/gchart/fet1-t1616/model (limited to 'hw/gchart') diff --git a/hw/gchart/fet1-t1616/anduril.h b/hw/gchart/fet1-t1616/anduril.h index 1b5cf05..1323162 100644 --- a/hw/gchart/fet1-t1616/anduril.h +++ b/hw/gchart/fet1-t1616/anduril.h @@ -3,9 +3,7 @@ // SPDX-License-Identifier: GPL-3.0-or-later #pragma once -#define MODEL_NUMBER "1618" // Golden Ratio... because I can #include "gchart/fet1-t1616/hwdef.h" -// ATTINY: 1616 // the button lights up #define USE_INDICATOR_LED diff --git a/hw/gchart/fet1-t1616/arch b/hw/gchart/fet1-t1616/arch new file mode 100644 index 0000000..cda1996 --- /dev/null +++ b/hw/gchart/fet1-t1616/arch @@ -0,0 +1 @@ +attiny1616 diff --git a/hw/gchart/fet1-t1616/hwdef.h b/hw/gchart/fet1-t1616/hwdef.h index 74d8d47..ac4fd53 100644 --- a/hw/gchart/fet1-t1616/hwdef.h +++ b/hw/gchart/fet1-t1616/hwdef.h @@ -11,7 +11,6 @@ * Read voltage from VCC pin, has diode with ~0.4v drop */ -#define ATTINY 1616 #include // nearly all t1616-based FET+1 drivers work pretty much the same diff --git a/hw/gchart/fet1-t1616/model b/hw/gchart/fet1-t1616/model new file mode 100644 index 0000000..871215b --- /dev/null +++ b/hw/gchart/fet1-t1616/model @@ -0,0 +1 @@ +1618 -- cgit v1.2.3