aboutsummaryrefslogtreecommitdiff
path: root/hw/hank/lume-x1
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--hw/hank/lume-x1/anduril.h33
-rw-r--r--hw/hank/lume-x1/arch1
-rw-r--r--hw/hank/lume-x1/model1
3 files changed, 35 insertions, 0 deletions
diff --git a/hw/hank/lume-x1/anduril.h b/hw/hank/lume-x1/anduril.h
new file mode 100644
index 0000000..509b442
--- /dev/null
+++ b/hw/hank/lume-x1/anduril.h
@@ -0,0 +1,33 @@
+// Hank Emisar/Noctigon Lume-X1 config options for Anduril
+// Copyright (C) 2018-2024 Selene ToyKeeper, Loneoceans
+// SPDX-License-Identifier: GPL-3.0-or-later
+
+#pragma once
+
+// For flashlights using the Loneoceans Lume-X1-40W boost driver (AVR32DD20)
+// - Same firmware for 6V, 9V, or 12V configs
+
+// same as loneoceans lume-x1-avr32dd20 but with Hank-specific defaults
+#include "loneoceans/lume-x1-avr32dd20/anduril.h"
+#include "hank/anduril.h"
+
+#undef DEFAULT_THERM_CEIL
+#define DEFAULT_THERM_CEIL 50
+
+// disable beacontower mode
+#ifdef USE_BEACONTOWER_MODE
+#undef USE_BEACONTOWER_MODE
+#endif
+
+// set smooth ramping by default
+#ifdef RAMP_STYLE
+#undef RAMP_STYLE
+#endif
+
+// reset to anduril default number of steps
+#ifdef RAMP_DISCRETE_STEPS
+#undef RAMP_DISCRETE_STEPS
+#endif
+#ifdef SIMPLE_UI_STEPS
+#undef SIMPLE_UI_STEPS
+#endif
diff --git a/hw/hank/lume-x1/arch b/hw/hank/lume-x1/arch
new file mode 100644
index 0000000..bcf4552
--- /dev/null
+++ b/hw/hank/lume-x1/arch
@@ -0,0 +1 @@
+avr32dd20
diff --git a/hw/hank/lume-x1/model b/hw/hank/lume-x1/model
new file mode 100644
index 0000000..7c5bbe4
--- /dev/null
+++ b/hw/hank/lume-x1/model
@@ -0,0 +1 @@
+0281 \ No newline at end of file
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.