aboutsummaryrefslogtreecommitdiff
path: root/hw/wurkkos
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/wurkkos
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/wurkkos')
-rw-r--r--hw/wurkkos/arch1
-rw-r--r--hw/wurkkos/fc13/anduril.h3
-rw-r--r--hw/wurkkos/fc13/model1
-rw-r--r--hw/wurkkos/ts10/anduril.h2
-rw-r--r--hw/wurkkos/ts10/hwdef.h1
-rw-r--r--hw/wurkkos/ts10/model1
-rw-r--r--hw/wurkkos/ts10/rgbaux/anduril.h3
-rw-r--r--hw/wurkkos/ts10/rgbaux/model1
-rw-r--r--hw/wurkkos/ts11/anduril.h3
-rw-r--r--hw/wurkkos/ts11/model1
-rw-r--r--hw/wurkkos/ts25/anduril.h2
-rw-r--r--hw/wurkkos/ts25/hwdef.h1
-rw-r--r--hw/wurkkos/ts25/model1
13 files changed, 6 insertions, 15 deletions
diff --git a/hw/wurkkos/arch b/hw/wurkkos/arch
new file mode 100644
index 0000000..cda1996
--- /dev/null
+++ b/hw/wurkkos/arch
@@ -0,0 +1 @@
+attiny1616
diff --git a/hw/wurkkos/fc13/anduril.h b/hw/wurkkos/fc13/anduril.h
index c3ae0dc..db766c7 100644
--- a/hw/wurkkos/fc13/anduril.h
+++ b/hw/wurkkos/fc13/anduril.h
@@ -3,10 +3,7 @@
// SPDX-License-Identifier: GPL-3.0-or-later
#pragma once
-// ATTINY: 1616
#include "wurkkos/ts25/anduril.h"
-#undef MODEL_NUMBER
-#define MODEL_NUMBER "0716"
// this light has three aux LED channels: R, G, B
#define USE_AUX_RGB_LEDS
diff --git a/hw/wurkkos/fc13/model b/hw/wurkkos/fc13/model
new file mode 100644
index 0000000..8e22c33
--- /dev/null
+++ b/hw/wurkkos/fc13/model
@@ -0,0 +1 @@
+0716
diff --git a/hw/wurkkos/ts10/anduril.h b/hw/wurkkos/ts10/anduril.h
index e84b7e5..de07415 100644
--- a/hw/wurkkos/ts10/anduril.h
+++ b/hw/wurkkos/ts10/anduril.h
@@ -4,10 +4,8 @@
#pragma once
// same as the BLF Q8 T1616, mostly (added Dynamic PWM)
-#define MODEL_NUMBER "0714"
#include "wurkkos/ts10/hwdef.h"
#include "wurkkos/anduril.h"
-// ATTINY: 1616
// uses forward-facing aux LEDs
#define USE_INDICATOR_LED
diff --git a/hw/wurkkos/ts10/hwdef.h b/hw/wurkkos/ts10/hwdef.h
index 157f2da..b1239b8 100644
--- a/hw/wurkkos/ts10/hwdef.h
+++ b/hw/wurkkos/ts10/hwdef.h
@@ -13,7 +13,6 @@
* Voltage: VCC
*/
-#define ATTINY 1616
#include <avr/io.h>
#define HWDEF_C_FILE wurkkos/ts10/hwdef.c
diff --git a/hw/wurkkos/ts10/model b/hw/wurkkos/ts10/model
new file mode 100644
index 0000000..f968dc1
--- /dev/null
+++ b/hw/wurkkos/ts10/model
@@ -0,0 +1 @@
+0714
diff --git a/hw/wurkkos/ts10/rgbaux/anduril.h b/hw/wurkkos/ts10/rgbaux/anduril.h
index e4ff8ff..a9d4f90 100644
--- a/hw/wurkkos/ts10/rgbaux/anduril.h
+++ b/hw/wurkkos/ts10/rgbaux/anduril.h
@@ -5,9 +5,6 @@
// most things are the same as TS25
#include "wurkkos/ts25/anduril.h"
-#undef MODEL_NUMBER
-#define MODEL_NUMBER "0713"
-// ATTINY: 1616
///// apply some config from the TS10 /////
diff --git a/hw/wurkkos/ts10/rgbaux/model b/hw/wurkkos/ts10/rgbaux/model
new file mode 100644
index 0000000..01af7ad
--- /dev/null
+++ b/hw/wurkkos/ts10/rgbaux/model
@@ -0,0 +1 @@
+0713
diff --git a/hw/wurkkos/ts11/anduril.h b/hw/wurkkos/ts11/anduril.h
index dd6eb57..169c848 100644
--- a/hw/wurkkos/ts11/anduril.h
+++ b/hw/wurkkos/ts11/anduril.h
@@ -3,10 +3,7 @@
// SPDX-License-Identifier: GPL-3.0-or-later
#pragma once
-// ATTINY: 1616
#include "wurkkos/ts25/anduril.h"
-#undef MODEL_NUMBER
-#define MODEL_NUMBER "0717"
// this light has three aux LED channels: R, G, B
#define USE_AUX_RGB_LEDS
diff --git a/hw/wurkkos/ts11/model b/hw/wurkkos/ts11/model
new file mode 100644
index 0000000..f0c0375
--- /dev/null
+++ b/hw/wurkkos/ts11/model
@@ -0,0 +1 @@
+0717
diff --git a/hw/wurkkos/ts25/anduril.h b/hw/wurkkos/ts25/anduril.h
index 5cddcd4..722bc5d 100644
--- a/hw/wurkkos/ts25/anduril.h
+++ b/hw/wurkkos/ts25/anduril.h
@@ -3,10 +3,8 @@
// SPDX-License-Identifier: GPL-3.0-or-later
#pragma once
-#define MODEL_NUMBER "0715"
#include "wurkkos/ts25/hwdef.h"
#include "wurkkos/anduril.h"
-// ATTINY: 1616
// this light has three aux LED channels: R, G, B
#define USE_AUX_RGB_LEDS
diff --git a/hw/wurkkos/ts25/hwdef.h b/hw/wurkkos/ts25/hwdef.h
index 0604432..024a18d 100644
--- a/hw/wurkkos/ts25/hwdef.h
+++ b/hw/wurkkos/ts25/hwdef.h
@@ -14,7 +14,6 @@
* Aux Blue: PC1
*/
-#define ATTINY 1616
#include <avr/io.h>
#define HWDEF_C_FILE wurkkos/ts25/hwdef.c
diff --git a/hw/wurkkos/ts25/model b/hw/wurkkos/ts25/model
new file mode 100644
index 0000000..e046f64
--- /dev/null
+++ b/hw/wurkkos/ts25/model
@@ -0,0 +1 @@
+0715
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.