aboutsummaryrefslogtreecommitdiff
path: root/hw/hank/emisar-d4s
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--hw/hank/emisar-d4s/219/anduril.h2
-rw-r--r--hw/hank/emisar-d4s/219/model1
-rw-r--r--hw/hank/emisar-d4s/anduril.h2
-rw-r--r--hw/hank/emisar-d4s/arch1
-rw-r--r--hw/hank/emisar-d4s/model1
-rw-r--r--hw/hank/emisar-d4sv2/219/anduril.h3
-rw-r--r--hw/hank/emisar-d4sv2/219/model1
-rw-r--r--hw/hank/emisar-d4sv2/anduril.h2
-rw-r--r--hw/hank/emisar-d4sv2/arch1
-rw-r--r--hw/hank/emisar-d4sv2/hwdef.h1
-rw-r--r--hw/hank/emisar-d4sv2/model1
11 files changed, 6 insertions, 10 deletions
diff --git a/hw/hank/emisar-d4s/219/anduril.h b/hw/hank/emisar-d4s/219/anduril.h
index 81ce6f3..7d9503b 100644
--- a/hw/hank/emisar-d4s/219/anduril.h
+++ b/hw/hank/emisar-d4s/219/anduril.h
@@ -6,8 +6,6 @@
// same as D4S but with FET modes limited to 80% power
// to avoid destroying the LEDs
#include "hank/emisar-d4s/anduril.h"
-#undef MODEL_NUMBER
-#define MODEL_NUMBER "0132"
// don't turn off first channel at turbo level
#undef PWM1_LEVELS
diff --git a/hw/hank/emisar-d4s/219/model b/hw/hank/emisar-d4s/219/model
new file mode 100644
index 0000000..2c9caac
--- /dev/null
+++ b/hw/hank/emisar-d4s/219/model
@@ -0,0 +1 @@
+0132
diff --git a/hw/hank/emisar-d4s/anduril.h b/hw/hank/emisar-d4s/anduril.h
index 0efe107..3f53cc9 100644
--- a/hw/hank/emisar-d4s/anduril.h
+++ b/hw/hank/emisar-d4s/anduril.h
@@ -3,10 +3,8 @@
// SPDX-License-Identifier: GPL-3.0-or-later
#pragma once
-#define MODEL_NUMBER "0131"
#include "hank/emisar-d4s/hwdef.h"
#include "hank/anduril.h"
-// ATTINY: 85
// the button lights up (on some models)
#define USE_INDICATOR_LED
diff --git a/hw/hank/emisar-d4s/arch b/hw/hank/emisar-d4s/arch
new file mode 100644
index 0000000..d16b0f8
--- /dev/null
+++ b/hw/hank/emisar-d4s/arch
@@ -0,0 +1 @@
+attiny85
diff --git a/hw/hank/emisar-d4s/model b/hw/hank/emisar-d4s/model
new file mode 100644
index 0000000..7063c46
--- /dev/null
+++ b/hw/hank/emisar-d4s/model
@@ -0,0 +1 @@
+0131
diff --git a/hw/hank/emisar-d4sv2/219/anduril.h b/hw/hank/emisar-d4sv2/219/anduril.h
index 71815c4..2726460 100644
--- a/hw/hank/emisar-d4sv2/219/anduril.h
+++ b/hw/hank/emisar-d4sv2/219/anduril.h
@@ -4,9 +4,6 @@
#pragma once
#include "hank/emisar-d4sv2/anduril.h"
-#undef MODEL_NUMBER
-#define MODEL_NUMBER "0134"
-// ATTINY: 1634
// don't turn off first channel at turbo level
#undef PWM1_LEVELS
diff --git a/hw/hank/emisar-d4sv2/219/model b/hw/hank/emisar-d4sv2/219/model
new file mode 100644
index 0000000..73ccc29
--- /dev/null
+++ b/hw/hank/emisar-d4sv2/219/model
@@ -0,0 +1 @@
+0134
diff --git a/hw/hank/emisar-d4sv2/anduril.h b/hw/hank/emisar-d4sv2/anduril.h
index 7f93510..139baf3 100644
--- a/hw/hank/emisar-d4sv2/anduril.h
+++ b/hw/hank/emisar-d4sv2/anduril.h
@@ -3,10 +3,8 @@
// SPDX-License-Identifier: GPL-3.0-or-later
#pragma once
-#define MODEL_NUMBER "0133"
#include "hank/emisar-d4sv2/hwdef.h"
#include "hank/anduril.h"
-// ATTINY: 1634
#define RAMP_SIZE 150
diff --git a/hw/hank/emisar-d4sv2/arch b/hw/hank/emisar-d4sv2/arch
new file mode 100644
index 0000000..5d99bab
--- /dev/null
+++ b/hw/hank/emisar-d4sv2/arch
@@ -0,0 +1 @@
+attiny1634
diff --git a/hw/hank/emisar-d4sv2/hwdef.h b/hw/hank/emisar-d4sv2/hwdef.h
index 3dae90d..d1e0452 100644
--- a/hw/hank/emisar-d4sv2/hwdef.h
+++ b/hw/hank/emisar-d4sv2/hwdef.h
@@ -30,7 +30,6 @@
* ADC12 thermal sensor
*/
-#define ATTINY 1634
#include <avr/io.h>
#define HWDEF_C_FILE hank/emisar-d4sv2/hwdef.c
diff --git a/hw/hank/emisar-d4sv2/model b/hw/hank/emisar-d4sv2/model
new file mode 100644
index 0000000..61c3188
--- /dev/null
+++ b/hw/hank/emisar-d4sv2/model
@@ -0,0 +1 @@
+0133
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.