aboutsummaryrefslogtreecommitdiff
path: root/hw/gchart/fet1-t1616
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/gchart/fet1-t1616
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/gchart/fet1-t1616')
-rw-r--r--hw/gchart/fet1-t1616/anduril.h2
-rw-r--r--hw/gchart/fet1-t1616/arch1
-rw-r--r--hw/gchart/fet1-t1616/hwdef.h1
-rw-r--r--hw/gchart/fet1-t1616/model1
4 files changed, 2 insertions, 3 deletions
diff --git a/hw/gchart/fet1-t1616/anduril.h b/hw/gchart/fet1-t1616/anduril.h
index 1b5cf05..1323162 100644
--- a/hw/gchart/fet1-t1616/anduril.h
+++ b/hw/gchart/fet1-t1616/anduril.h
@@ -3,9 +3,7 @@
// SPDX-License-Identifier: GPL-3.0-or-later
#pragma once
-#define MODEL_NUMBER "1618" // Golden Ratio... because I can
#include "gchart/fet1-t1616/hwdef.h"
-// ATTINY: 1616
// the button lights up
#define USE_INDICATOR_LED
diff --git a/hw/gchart/fet1-t1616/arch b/hw/gchart/fet1-t1616/arch
new file mode 100644
index 0000000..cda1996
--- /dev/null
+++ b/hw/gchart/fet1-t1616/arch
@@ -0,0 +1 @@
+attiny1616
diff --git a/hw/gchart/fet1-t1616/hwdef.h b/hw/gchart/fet1-t1616/hwdef.h
index 74d8d47..ac4fd53 100644
--- a/hw/gchart/fet1-t1616/hwdef.h
+++ b/hw/gchart/fet1-t1616/hwdef.h
@@ -11,7 +11,6 @@
* Read voltage from VCC pin, has diode with ~0.4v drop
*/
-#define ATTINY 1616
#include <avr/io.h>
// nearly all t1616-based FET+1 drivers work pretty much the same
diff --git a/hw/gchart/fet1-t1616/model b/hw/gchart/fet1-t1616/model
new file mode 100644
index 0000000..871215b
--- /dev/null
+++ b/hw/gchart/fet1-t1616/model
@@ -0,0 +1 @@
+1618