aboutsummaryrefslogtreecommitdiff
path: root/hw/hank
diff options
context:
space:
mode:
authorApexo2026-03-27 22:51:23 +0100
committerApexo2026-03-27 22:51:23 +0100
commit3ac85dfa1d09feac1f92f98bd9e5194b8185f1cd (patch)
tree1f556407df86c36850716a8518636756d1fe1b9f /hw/hank
parentMerge branch 'wurkkos-ts26' into trunk (diff)
downloadanduril-simple-ui.tar.gz
anduril-simple-ui.tar.bz2
anduril-simple-ui.zip
simple UIsimple-ui
Diffstat (limited to '')
-rw-r--r--hw/hank/emisar-d3aa/simple.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/hw/hank/emisar-d3aa/simple.h b/hw/hank/emisar-d3aa/simple.h
new file mode 100644
index 0000000..8ef36d4
--- /dev/null
+++ b/hw/hank/emisar-d3aa/simple.h
@@ -0,0 +1,34 @@
+/*
+ * simple.h: Emisar D3AA config for Simple UI
+ * Copyright (C) 2023, 2026 git@apexo.de, thefreeman, Selene ToyKeeper
+ * SPDX-License-Identifier: GPL-3.0-or-later
+ */
+#pragma once
+
+#include "hank/emisar-d3aa/anduril.h"
+
+#define USE_RAMPING
+
+#define USE_SET_LEVEL_GRADUALLY
+
+/*
+ * avr32dd20.c compiles mcu_wdt_standby() unconditionally and references this.
+ * so we need to define it, even if we don't use TICK_DURING_STANDBY.
+ */
+#ifndef STANDBY_TICK_SPEED
+#define STANDBY_TICK_SPEED 3
+#endif
+
+#define USE_DELAY_ZERO
+
+#define USE_LVP
+
+#define USE_THERMAL_REGULATION
+#define DEFAULT_THERM_CEIL 45
+
+/*
+ * EEPROM stores 1 byte:
+ * - brightness index
+ */
+#define USE_EEPROM
+#define EEPROM_BYTES 1