aboutsummaryrefslogtreecommitdiff
path: root/hw/hank/noctigon-m44
diff options
context:
space:
mode:
authorSelene ToyKeeper2023-11-03 10:53:34 -0600
committerSelene ToyKeeper2023-11-03 10:53:34 -0600
commitc798ab3e78d4ca857c9aa6dc283176df1769becd (patch)
treea880468721171db1ace5b8e968fe29480b694466 /hw/hank/noctigon-m44
parentmoved variant builds under their parent, like "d4-219" -> "d4/219" (diff)
downloadanduril-c798ab3e78d4ca857c9aa6dc283176df1769becd.tar.gz
anduril-c798ab3e78d4ca857c9aa6dc283176df1769becd.tar.bz2
anduril-c798ab3e78d4ca857c9aa6dc283176df1769becd.zip
moved ATTINY and MODEL_NUMBER into $target/arch and $target/model,
and updated other scripts and files accordingly
Diffstat (limited to 'hw/hank/noctigon-m44')
-rw-r--r--hw/hank/noctigon-m44/anduril.h2
-rw-r--r--hw/hank/noctigon-m44/arch1
-rw-r--r--hw/hank/noctigon-m44/hwdef.h1
-rw-r--r--hw/hank/noctigon-m44/model1
4 files changed, 2 insertions, 3 deletions
diff --git a/hw/hank/noctigon-m44/anduril.h b/hw/hank/noctigon-m44/anduril.h
index 2add6d4..88411be 100644
--- a/hw/hank/noctigon-m44/anduril.h
+++ b/hw/hank/noctigon-m44/anduril.h
@@ -3,10 +3,8 @@
// SPDX-License-Identifier: GPL-3.0-or-later
#pragma once
-#define MODEL_NUMBER "0143"
#include "hank/noctigon-m44/hwdef.h"
#include "hank/anduril.h"
-// ATTINY: 1634
// this light has three aux LED channels: R, G, B
#define USE_AUX_RGB_LEDS
diff --git a/hw/hank/noctigon-m44/arch b/hw/hank/noctigon-m44/arch
new file mode 100644
index 0000000..5d99bab
--- /dev/null
+++ b/hw/hank/noctigon-m44/arch
@@ -0,0 +1 @@
+attiny1634
diff --git a/hw/hank/noctigon-m44/hwdef.h b/hw/hank/noctigon-m44/hwdef.h
index 7bacfd1..af942d9 100644
--- a/hw/hank/noctigon-m44/hwdef.h
+++ b/hw/hank/noctigon-m44/hwdef.h
@@ -28,7 +28,6 @@
* ADC12 thermal sensor
*/
-#define ATTINY 1634
#include <avr/io.h>
#define HWDEF_C_FILE hank/noctigon-m44/hwdef.c
diff --git a/hw/hank/noctigon-m44/model b/hw/hank/noctigon-m44/model
new file mode 100644
index 0000000..e75de03
--- /dev/null
+++ b/hw/hank/noctigon-m44/model
@@ -0,0 +1 @@
+0143