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/noctigon-kr4/2ch/anduril.h | 3 --- hw/hank/noctigon-kr4/2ch/hwdef.h | 1 - hw/hank/noctigon-kr4/2ch/model | 1 + 3 files changed, 1 insertion(+), 4 deletions(-) create mode 100644 hw/hank/noctigon-kr4/2ch/model (limited to 'hw/hank/noctigon-kr4/2ch') diff --git a/hw/hank/noctigon-kr4/2ch/anduril.h b/hw/hank/noctigon-kr4/2ch/anduril.h index be7c4d0..c750f6d 100644 --- a/hw/hank/noctigon-kr4/2ch/anduril.h +++ b/hw/hank/noctigon-kr4/2ch/anduril.h @@ -5,11 +5,8 @@ // (basically the same as Emisar generic 2-channel build, // but switch on a different pin, and no lighted button) -// ATTINY: 1634 #include "hank/noctigon-kr4/2ch/hwdef.h" #include "hank/emisar-2ch/anduril.h" -#undef MODEL_NUMBER -#define MODEL_NUMBER "0215" // the button doesn't light up #undef USE_BUTTON_LED diff --git a/hw/hank/noctigon-kr4/2ch/hwdef.h b/hw/hank/noctigon-kr4/2ch/hwdef.h index 081fccc..b23c7cc 100644 --- a/hw/hank/noctigon-kr4/2ch/hwdef.h +++ b/hw/hank/noctigon-kr4/2ch/hwdef.h @@ -30,7 +30,6 @@ * ADC12 thermal sensor */ -#define ATTINY 1634 #include // move the switch to a different pin diff --git a/hw/hank/noctigon-kr4/2ch/model b/hw/hank/noctigon-kr4/2ch/model new file mode 100644 index 0000000..684b693 --- /dev/null +++ b/hw/hank/noctigon-kr4/2ch/model @@ -0,0 +1 @@ +0215 -- cgit v1.2.3