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/sofirn/blf-q8-t1616/anduril.h | 2 -- hw/sofirn/blf-q8-t1616/arch | 1 + hw/sofirn/blf-q8-t1616/hwdef.h | 1 - hw/sofirn/blf-q8-t1616/model | 1 + 4 files changed, 2 insertions(+), 3 deletions(-) create mode 100644 hw/sofirn/blf-q8-t1616/arch create mode 100644 hw/sofirn/blf-q8-t1616/model (limited to 'hw/sofirn/blf-q8-t1616') diff --git a/hw/sofirn/blf-q8-t1616/anduril.h b/hw/sofirn/blf-q8-t1616/anduril.h index 0307e02..c2c27d7 100644 --- a/hw/sofirn/blf-q8-t1616/anduril.h +++ b/hw/sofirn/blf-q8-t1616/anduril.h @@ -3,10 +3,8 @@ // SPDX-License-Identifier: GPL-3.0-or-later #pragma once -#define MODEL_NUMBER "0613" #include "sofirn/blf-q8-t1616/hwdef.h" #include "wurkkos/anduril.h" // Sofirn lights are closely related to Wurkkos -// ATTINY: 1616 // the button lights up #define USE_INDICATOR_LED diff --git a/hw/sofirn/blf-q8-t1616/arch b/hw/sofirn/blf-q8-t1616/arch new file mode 100644 index 0000000..cda1996 --- /dev/null +++ b/hw/sofirn/blf-q8-t1616/arch @@ -0,0 +1 @@ +attiny1616 diff --git a/hw/sofirn/blf-q8-t1616/hwdef.h b/hw/sofirn/blf-q8-t1616/hwdef.h index 9098022..29c2ffa 100644 --- a/hw/sofirn/blf-q8-t1616/hwdef.h +++ b/hw/sofirn/blf-q8-t1616/hwdef.h @@ -15,7 +15,6 @@ * Voltage: VCC */ -#define ATTINY 1616 #include // nearly all t1616-based FET+1 drivers work pretty much the same diff --git a/hw/sofirn/blf-q8-t1616/model b/hw/sofirn/blf-q8-t1616/model new file mode 100644 index 0000000..c87e2f1 --- /dev/null +++ b/hw/sofirn/blf-q8-t1616/model @@ -0,0 +1 @@ +0613 -- cgit v1.2.3