refactor: bootloader & cmake cleanup (#5232)

This commit is contained in:
Raphael Coeffic
2024-07-07 21:06:59 +10:00
committed by GitHub
parent 848d7942bf
commit d575242c0f
35 changed files with 483 additions and 547 deletions
+12
View File
@@ -46,6 +46,18 @@ void rotaryEncoderCheck();
#define LUA_MEM_MAX (0) // max allowed memory usage for complete Lua (in bytes), 0 means unlimited
#if defined(PCBXLITE)
# define BOOTLOADER_KEYS 0x0F
#elif defined(RADIO_MT12)
# define BOOTLOADER_KEYS 0x06
#else
# define BOOTLOADER_KEYS 0x42
#endif
#if defined(RADIO_FAMILY_T20)
# define SECONDARY_BOOTLOADER_KEYS 0x1200
#endif
extern uint16_t sessionTimer;
// Board driver