aboutsummaryrefslogtreecommitdiff
path: root/hw/hank/emisar-2ch
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/emisar-2ch
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 '')
-rw-r--r--hw/hank/emisar-2ch/anduril.h2
-rw-r--r--hw/hank/emisar-2ch/arch1
-rw-r--r--hw/hank/emisar-2ch/fet/anduril.h2
-rw-r--r--hw/hank/emisar-2ch/fet/hwdef.h1
-rw-r--r--hw/hank/emisar-2ch/fet/model1
-rw-r--r--hw/hank/emisar-2ch/hwdef.h1
-rw-r--r--hw/hank/emisar-2ch/model1
7 files changed, 3 insertions, 6 deletions
diff --git a/hw/hank/emisar-2ch/anduril.h b/hw/hank/emisar-2ch/anduril.h
index 2e87151..4693cb1 100644
--- a/hw/hank/emisar-2ch/anduril.h
+++ b/hw/hank/emisar-2ch/anduril.h
@@ -3,10 +3,8 @@
// SPDX-License-Identifier: GPL-3.0-or-later
#pragma once
-#define MODEL_NUMBER "0135"
#include "hank/emisar-2ch/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/emisar-2ch/arch b/hw/hank/emisar-2ch/arch
new file mode 100644
index 0000000..5d99bab
--- /dev/null
+++ b/hw/hank/emisar-2ch/arch
@@ -0,0 +1 @@
+attiny1634
diff --git a/hw/hank/emisar-2ch/fet/anduril.h b/hw/hank/emisar-2ch/fet/anduril.h
index 3a9e513..a1d8794 100644
--- a/hw/hank/emisar-2ch/fet/anduril.h
+++ b/hw/hank/emisar-2ch/fet/anduril.h
@@ -3,10 +3,8 @@
// SPDX-License-Identifier: GPL-3.0-or-later
#pragma once
-#define MODEL_NUMBER "0136"
#include "hank/emisar-2ch/fet/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/emisar-2ch/fet/hwdef.h b/hw/hank/emisar-2ch/fet/hwdef.h
index 1569d41..0778e10 100644
--- a/hw/hank/emisar-2ch/fet/hwdef.h
+++ b/hw/hank/emisar-2ch/fet/hwdef.h
@@ -32,7 +32,6 @@
* The first channel also has a direct-drive FET for turbo.
*/
-#define ATTINY 1634
#include <avr/io.h>
#define HWDEF_C_FILE hank/emisar-2ch/fet/hwdef.c
diff --git a/hw/hank/emisar-2ch/fet/model b/hw/hank/emisar-2ch/fet/model
new file mode 100644
index 0000000..a7d9419
--- /dev/null
+++ b/hw/hank/emisar-2ch/fet/model
@@ -0,0 +1 @@
+0136
diff --git a/hw/hank/emisar-2ch/hwdef.h b/hw/hank/emisar-2ch/hwdef.h
index e67fac8..e3707c7 100644
--- a/hw/hank/emisar-2ch/hwdef.h
+++ b/hw/hank/emisar-2ch/hwdef.h
@@ -31,7 +31,6 @@
* and one pin to control the Opamp power level.
*/
-#define ATTINY 1634
#include <avr/io.h>
#define HWDEF_C_FILE hank/emisar-2ch/hwdef.c
diff --git a/hw/hank/emisar-2ch/model b/hw/hank/emisar-2ch/model
new file mode 100644
index 0000000..b8db57f
--- /dev/null
+++ b/hw/hank/emisar-2ch/model
@@ -0,0 +1 @@
+0135
If you find this content useful please consider a small donation via bitcoin: bitcoin:1mxKyQsHHugqRxPKgwaA7wUwJEGCNthn2?amount=0.001&message=Donation Scraping git contents via cgit is very resource intensive. The continued hosting of these git repositories is entirely financed by your bitcoin contributions. For donations of a least 1 mBTC you include your IP address in the message of your bitcoin donation. This will remove this message in the future for requests from your IP, which will significantly reduce token usage. In any case, any contributions to bitcoin address 1mxKyQsHHugqRxPKgwaA7wUwJEGCNthn2 are very welcome. Thanks in advance for you contribution to a self-sustaining ecosystem.