aboutsummaryrefslogtreecommitdiff
path: root/hw/mateminco
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/mateminco
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/mateminco')
-rw-r--r--hw/mateminco/arch1
-rw-r--r--hw/mateminco/mf01-mini/anduril.h1
-rw-r--r--hw/mateminco/mf01-mini/hwdef.h1
-rw-r--r--hw/mateminco/mf01-mini/model1
-rw-r--r--hw/mateminco/mf01s/anduril.h2
-rw-r--r--hw/mateminco/mf01s/hwdef.h1
-rw-r--r--hw/mateminco/mf01s/model1
-rw-r--r--hw/mateminco/mt35-mini/anduril.h2
-rw-r--r--hw/mateminco/mt35-mini/hwdef.h1
-rw-r--r--hw/mateminco/mt35-mini/model1
10 files changed, 4 insertions, 8 deletions
diff --git a/hw/mateminco/arch b/hw/mateminco/arch
new file mode 100644
index 0000000..d16b0f8
--- /dev/null
+++ b/hw/mateminco/arch
@@ -0,0 +1 @@
+attiny85
diff --git a/hw/mateminco/mf01-mini/anduril.h b/hw/mateminco/mf01-mini/anduril.h
index a9e4816..e42cac3 100644
--- a/hw/mateminco/mf01-mini/anduril.h
+++ b/hw/mateminco/mf01-mini/anduril.h
@@ -3,7 +3,6 @@
// SPDX-License-Identifier: GPL-3.0-or-later
#pragma once
-#define MODEL_NUMBER "0521"
#include "mateminco/mf01-mini/hwdef.h"
// the button lights up
diff --git a/hw/mateminco/mf01-mini/hwdef.h b/hw/mateminco/mf01-mini/hwdef.h
index 663e1d2..f245042 100644
--- a/hw/mateminco/mf01-mini/hwdef.h
+++ b/hw/mateminco/mf01-mini/hwdef.h
@@ -12,7 +12,6 @@
* ----
*/
-#define ATTINY 85
#include <avr/io.h>
#define HWDEF_C_FILE lumintop/fw3a/hwdef.c
diff --git a/hw/mateminco/mf01-mini/model b/hw/mateminco/mf01-mini/model
new file mode 100644
index 0000000..8b57496
--- /dev/null
+++ b/hw/mateminco/mf01-mini/model
@@ -0,0 +1 @@
+0521
diff --git a/hw/mateminco/mf01s/anduril.h b/hw/mateminco/mf01s/anduril.h
index 573c71d..6b8b7c2 100644
--- a/hw/mateminco/mf01s/anduril.h
+++ b/hw/mateminco/mf01s/anduril.h
@@ -3,9 +3,7 @@
// SPDX-License-Identifier: GPL-3.0-or-later
#pragma once
-#define MODEL_NUMBER "0511"
#include "mateminco/mf01s/hwdef.h"
-// ATTINY: 85
// the button lights up
#define USE_INDICATOR_LED
diff --git a/hw/mateminco/mf01s/hwdef.h b/hw/mateminco/mf01s/hwdef.h
index 3d88975..a346807 100644
--- a/hw/mateminco/mf01s/hwdef.h
+++ b/hw/mateminco/mf01s/hwdef.h
@@ -12,7 +12,6 @@
* ----
*/
-#define ATTINY 85
#include <avr/io.h>
#define HWDEF_C_FILE hank/emisar-d4/hwdef.c
diff --git a/hw/mateminco/mf01s/model b/hw/mateminco/mf01s/model
new file mode 100644
index 0000000..4b975a0
--- /dev/null
+++ b/hw/mateminco/mf01s/model
@@ -0,0 +1 @@
+0511
diff --git a/hw/mateminco/mt35-mini/anduril.h b/hw/mateminco/mt35-mini/anduril.h
index 506f851..07cbf25 100644
--- a/hw/mateminco/mt35-mini/anduril.h
+++ b/hw/mateminco/mt35-mini/anduril.h
@@ -3,9 +3,7 @@
// SPDX-License-Identifier: GPL-3.0-or-later
#pragma once
-#define MODEL_NUMBER "0531"
#include "mateminco/mt35-mini/hwdef.h"
-// ATTINY: 85
// the button lights up
#define USE_INDICATOR_LED
diff --git a/hw/mateminco/mt35-mini/hwdef.h b/hw/mateminco/mt35-mini/hwdef.h
index c27f910..aec4eaf 100644
--- a/hw/mateminco/mt35-mini/hwdef.h
+++ b/hw/mateminco/mt35-mini/hwdef.h
@@ -12,7 +12,6 @@
* ----
*/
-#define ATTINY 85
#include <avr/io.h>
#define HWDEF_C_FILE hank/emisar-d4/hwdef.c
diff --git a/hw/mateminco/mt35-mini/model b/hw/mateminco/mt35-mini/model
new file mode 100644
index 0000000..ae0d58a
--- /dev/null
+++ b/hw/mateminco/mt35-mini/model
@@ -0,0 +1 @@
+0531