From 3ac85dfa1d09feac1f92f98bd9e5194b8185f1cd Mon Sep 17 00:00:00 2001 From: Apexo Date: Fri, 27 Mar 2026 22:51:23 +0100 Subject: simple UI --- hw/hank/emisar-d3aa/simple.h | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 hw/hank/emisar-d3aa/simple.h (limited to 'hw/hank/emisar-d3aa/simple.h') 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 -- cgit v1.2.3