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/sp10-pro/anduril.h | 2 -- hw/sofirn/sp10-pro/arch | 1 + hw/sofirn/sp10-pro/hwdef.h | 1 - hw/sofirn/sp10-pro/model | 1 + 4 files changed, 2 insertions(+), 3 deletions(-) create mode 100644 hw/sofirn/sp10-pro/arch create mode 100644 hw/sofirn/sp10-pro/model (limited to 'hw/sofirn/sp10-pro') diff --git a/hw/sofirn/sp10-pro/anduril.h b/hw/sofirn/sp10-pro/anduril.h index e265918..50c1d4e 100644 --- a/hw/sofirn/sp10-pro/anduril.h +++ b/hw/sofirn/sp10-pro/anduril.h @@ -3,9 +3,7 @@ // SPDX-License-Identifier: GPL-3.0-or-later #pragma once -#define MODEL_NUMBER "0631" #include "sofirn/sp10-pro/hwdef.h" -// ATTINY: 1616 // 1....15: level_calc.py 3.01 1 15 7135 1 0.1 2 --pwm dyn:15:64:64 // 16..150: level_calc.py 5.01 1 135 7135 1 2 800 --pwm dyn:49:3072:255:3.0 diff --git a/hw/sofirn/sp10-pro/arch b/hw/sofirn/sp10-pro/arch new file mode 100644 index 0000000..cda1996 --- /dev/null +++ b/hw/sofirn/sp10-pro/arch @@ -0,0 +1 @@ +attiny1616 diff --git a/hw/sofirn/sp10-pro/hwdef.h b/hw/sofirn/sp10-pro/hwdef.h index 1d1ec25..a52166d 100644 --- a/hw/sofirn/sp10-pro/hwdef.h +++ b/hw/sofirn/sp10-pro/hwdef.h @@ -12,7 +12,6 @@ * PA1 : Boost Enable */ -#define ATTINY 1616 #include #define HWDEF_C_FILE sofirn/sp10-pro/hwdef.c diff --git a/hw/sofirn/sp10-pro/model b/hw/sofirn/sp10-pro/model new file mode 100644 index 0000000..a7cda42 --- /dev/null +++ b/hw/sofirn/sp10-pro/model @@ -0,0 +1 @@ +0631 -- cgit v1.2.3