aboutsummaryrefslogtreecommitdiff
path: root/hw/hank/noctigon-k1
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/noctigon-k1
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/hank/noctigon-k1')
-rw-r--r--hw/hank/noctigon-k1/anduril.h2
-rw-r--r--hw/hank/noctigon-k1/arch1
-rw-r--r--hw/hank/noctigon-k1/boost/anduril.h2
-rw-r--r--hw/hank/noctigon-k1/boost/hwdef.h1
-rw-r--r--hw/hank/noctigon-k1/boost/model1
-rw-r--r--hw/hank/noctigon-k1/hwdef.h1
-rw-r--r--hw/hank/noctigon-k1/model1
-rw-r--r--hw/hank/noctigon-k1/sbt90/anduril.h2
-rw-r--r--hw/hank/noctigon-k1/sbt90/hwdef.h1
-rw-r--r--hw/hank/noctigon-k1/sbt90/model1
10 files changed, 4 insertions, 9 deletions
diff --git a/hw/hank/noctigon-k1/anduril.h b/hw/hank/noctigon-k1/anduril.h
index 115e730..06a9b69 100644
--- a/hw/hank/noctigon-k1/anduril.h
+++ b/hw/hank/noctigon-k1/anduril.h
@@ -3,11 +3,9 @@
// SPDX-License-Identifier: GPL-3.0-or-later
#pragma once
-#define MODEL_NUMBER "0251"
// (originally known as Emisar D1S v2)
#include "hank/noctigon-k1/hwdef.h"
#include "hank/anduril.h"
-// ATTINY: 1634
// this light can safely run a bit hotter than most
#undef DEFAULT_THERM_CEIL
diff --git a/hw/hank/noctigon-k1/arch b/hw/hank/noctigon-k1/arch
new file mode 100644
index 0000000..5d99bab
--- /dev/null
+++ b/hw/hank/noctigon-k1/arch
@@ -0,0 +1 @@
+attiny1634
diff --git a/hw/hank/noctigon-k1/boost/anduril.h b/hw/hank/noctigon-k1/boost/anduril.h
index 8d023a6..cfbab16 100644
--- a/hw/hank/noctigon-k1/boost/anduril.h
+++ b/hw/hank/noctigon-k1/boost/anduril.h
@@ -3,10 +3,8 @@
// SPDX-License-Identifier: GPL-3.0-or-later
#pragma once
-#define MODEL_NUMBER "0253"
#include "hank/noctigon-k1/boost/hwdef.h"
#include "hank/anduril.h"
-// ATTINY: 1634
// Most K1 lights can run hotter than default, but the 12V model
// is known to have issues with the driver itself getting too hot.
diff --git a/hw/hank/noctigon-k1/boost/hwdef.h b/hw/hank/noctigon-k1/boost/hwdef.h
index 20bd47d..951932a 100644
--- a/hw/hank/noctigon-k1/boost/hwdef.h
+++ b/hw/hank/noctigon-k1/boost/hwdef.h
@@ -34,7 +34,6 @@
* not to change brightness.
*/
-#define ATTINY 1634
#include <avr/io.h>
#define HWDEF_C_FILE hank/noctigon-dm11/boost/hwdef.c
diff --git a/hw/hank/noctigon-k1/boost/model b/hw/hank/noctigon-k1/boost/model
new file mode 100644
index 0000000..3b64c1d
--- /dev/null
+++ b/hw/hank/noctigon-k1/boost/model
@@ -0,0 +1 @@
+0253
diff --git a/hw/hank/noctigon-k1/hwdef.h b/hw/hank/noctigon-k1/hwdef.h
index f6e714d..9a68401 100644
--- a/hw/hank/noctigon-k1/hwdef.h
+++ b/hw/hank/noctigon-k1/hwdef.h
@@ -36,7 +36,6 @@
* not to change brightness.
*/
-#define ATTINY 1634
#include <avr/io.h>
#ifndef HWDEF_C_FILE
diff --git a/hw/hank/noctigon-k1/model b/hw/hank/noctigon-k1/model
new file mode 100644
index 0000000..13156be
--- /dev/null
+++ b/hw/hank/noctigon-k1/model
@@ -0,0 +1 @@
+0251
diff --git a/hw/hank/noctigon-k1/sbt90/anduril.h b/hw/hank/noctigon-k1/sbt90/anduril.h
index 4766ce7..6943a0a 100644
--- a/hw/hank/noctigon-k1/sbt90/anduril.h
+++ b/hw/hank/noctigon-k1/sbt90/anduril.h
@@ -4,10 +4,8 @@
#pragma once
// (is a K1 host with a KR4-like driver and a really high-powered LED)
-#define MODEL_NUMBER "0252"
#include "hank/noctigon-k1/sbt90/hwdef.h"
#include "hank/anduril.h"
-// ATTINY: 1634
// this light can safely run a bit hotter than most
#undef DEFAULT_THERM_CEIL
diff --git a/hw/hank/noctigon-k1/sbt90/hwdef.h b/hw/hank/noctigon-k1/sbt90/hwdef.h
index bdea32d..8186b49 100644
--- a/hw/hank/noctigon-k1/sbt90/hwdef.h
+++ b/hw/hank/noctigon-k1/sbt90/hwdef.h
@@ -37,7 +37,6 @@
* Also has a direct-drive FET for turbo.
*/
-#define ATTINY 1634
#include <avr/io.h>
#define HWDEF_C_FILE hank/noctigon-kr4/hwdef.c
diff --git a/hw/hank/noctigon-k1/sbt90/model b/hw/hank/noctigon-k1/sbt90/model
new file mode 100644
index 0000000..0d8949d
--- /dev/null
+++ b/hw/hank/noctigon-k1/sbt90/model
@@ -0,0 +1 @@
+0252
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.