aboutsummaryrefslogtreecommitdiff
path: root/hw/wurkkos
diff options
context:
space:
mode:
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