aboutsummaryrefslogtreecommitdiff
path: root/hw/thefreeman/lin16dac
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/thefreeman/lin16dac
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/thefreeman/lin16dac')
-rw-r--r--hw/thefreeman/lin16dac/anduril.h2
-rw-r--r--hw/thefreeman/lin16dac/arch1
-rw-r--r--hw/thefreeman/lin16dac/hwdef.h1
-rw-r--r--hw/thefreeman/lin16dac/model1
4 files changed, 2 insertions, 3 deletions
diff --git a/hw/thefreeman/lin16dac/anduril.h b/hw/thefreeman/lin16dac/anduril.h
index 62230e8..8ca8b9f 100644
--- a/hw/thefreeman/lin16dac/anduril.h
+++ b/hw/thefreeman/lin16dac/anduril.h
@@ -3,9 +3,7 @@
// SPDX-License-Identifier: GPL-3.0-or-later
#pragma once
-#define MODEL_NUMBER "1630"
#include "thefreeman/lin16dac/hwdef.h"
-// ATTINY: 1616
// the button lights up
#define USE_INDICATOR_LED
diff --git a/hw/thefreeman/lin16dac/arch b/hw/thefreeman/lin16dac/arch
new file mode 100644
index 0000000..cda1996
--- /dev/null
+++ b/hw/thefreeman/lin16dac/arch
@@ -0,0 +1 @@
+attiny1616
diff --git a/hw/thefreeman/lin16dac/hwdef.h b/hw/thefreeman/lin16dac/hwdef.h
index 79f8382..2066d04 100644
--- a/hw/thefreeman/lin16dac/hwdef.h
+++ b/hw/thefreeman/lin16dac/hwdef.h
@@ -12,7 +12,6 @@
* Read voltage from VCC pin, has PFET so no drop
*/
-#define ATTINY 1616
#include <avr/io.h>
#define HWDEF_C_FILE thefreeman/lin16dac/hwdef.c
diff --git a/hw/thefreeman/lin16dac/model b/hw/thefreeman/lin16dac/model
new file mode 100644
index 0000000..86868c5
--- /dev/null
+++ b/hw/thefreeman/lin16dac/model
@@ -0,0 +1 @@
+1630