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/lt1s-pro/anduril.h | 2 -- hw/sofirn/lt1s-pro/arch | 1 + hw/sofirn/lt1s-pro/hwdef.h | 1 - hw/sofirn/lt1s-pro/model | 1 + 4 files changed, 2 insertions(+), 3 deletions(-) create mode 100644 hw/sofirn/lt1s-pro/arch create mode 100644 hw/sofirn/lt1s-pro/model (limited to 'hw/sofirn/lt1s-pro') diff --git a/hw/sofirn/lt1s-pro/anduril.h b/hw/sofirn/lt1s-pro/anduril.h index c6a0f3e..1840b58 100644 --- a/hw/sofirn/lt1s-pro/anduril.h +++ b/hw/sofirn/lt1s-pro/anduril.h @@ -3,9 +3,7 @@ // SPDX-License-Identifier: GPL-3.0-or-later #pragma once -#define MODEL_NUMBER "0623" #include "sofirn/lt1s-pro/hwdef.h" -// ATTINY: 1616 // off mode: low (1) // lockout: blinking (3) diff --git a/hw/sofirn/lt1s-pro/arch b/hw/sofirn/lt1s-pro/arch new file mode 100644 index 0000000..cda1996 --- /dev/null +++ b/hw/sofirn/lt1s-pro/arch @@ -0,0 +1 @@ +attiny1616 diff --git a/hw/sofirn/lt1s-pro/hwdef.h b/hw/sofirn/lt1s-pro/hwdef.h index 4179c67..cd4dd4e 100644 --- a/hw/sofirn/lt1s-pro/hwdef.h +++ b/hw/sofirn/lt1s-pro/hwdef.h @@ -13,7 +13,6 @@ * Voltage: VCC */ -#define ATTINY 1616 #include #define HWDEF_C_FILE sofirn/lt1s-pro/hwdef.c diff --git a/hw/sofirn/lt1s-pro/model b/hw/sofirn/lt1s-pro/model new file mode 100644 index 0000000..97fc6c0 --- /dev/null +++ b/hw/sofirn/lt1s-pro/model @@ -0,0 +1 @@ +0623 -- cgit v1.2.3