code cleanup, settings in eeprom, serial eeprom loader

This commit is contained in:
jjwbruijn
2023-12-04 22:01:21 +01:00
parent a941cad902
commit 14e4d17b31
17 changed files with 241 additions and 197 deletions

View File

@@ -9,6 +9,7 @@
#define ESP32_C6 0xC6
#define SOLUM_M2_BWR_16 0x20
#define SOLUM_M2_BW_29L 0x21
#define SOLUM_M2_BWR_29 0x23
#define SOLUM_M2_BWR_42 0x24
#define SOLUM_M2_BWR_75 0x26
@@ -30,6 +31,10 @@
#define SOLUM_M3_BWR_116 0x37
#define SOLUM_M3_BWY_116 0x3F
#define HS_NEBULAR_BWY_35 0x60
#define HS_NEBULAR_BWR_35 0x61
#define HS_NEBULAR_BW_35 0x62
#define CAPABILITY_SUPPORTS_COMPRESSION 0x02
#define CAPABILITY_SUPPORTS_CUSTOM_LUTS 0x04
#define CAPABILITY_ALT_LUT_SIZE 0x08
@@ -64,6 +69,7 @@
#define CMD_ENTER_SLIDESHOW_SLOW 0x08
#define CMD_ENTER_SLIDESHOW_GLACIAL 0x09
#define CMD_ENTER_NORMAL_MODE 0x0F
#define CMD_ENTER_WAIT_RFWAKE 0x20
#define WAKEUP_REASON_TIMED 0
#define WAKEUP_REASON_GPIO 2
@@ -102,4 +108,5 @@
#define TAG_CUSTOM_SLIDESHOW_FAST 0x06
#define TAG_CUSTOM_SLIDESHOW_MEDIUM 0x07
#define TAG_CUSTOM_SLIDESHOW_SLOW 0x08
#define TAG_CUSTOM_SLIDESHOW_GLACIAL 0x09
#define TAG_CUSTOM_SLIDESHOW_GLACIAL 0x09
#define TAG_CUSTOM_MODE_WAIT_RFWAKE 0x20