diff options
Diffstat (limited to 'hw')
| -rw-r--r-- | hw/hank/emisar-d3aa/simple.h | 34 |
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 |
