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
+2 -6
View File
@@ -30,6 +30,8 @@
// Defines used in board_common.h
#define ROTARY_ENCODER_NAVIGATION
#define BOOTLOADER_KEYS 0x42
#include "board_common.h"
#include "hal.h"
@@ -61,12 +63,6 @@ extern uint16_t sessionTimer;
#define SLAVE_MODE() (g_model.trainerData.mode == TRAINER_MODE_SLAVE)
#if defined(RADIO_F16)
// initilizes the board for the bootloader
#define HAVE_BOARD_BOOTLOADER_INIT 1
void boardBootloaderInit();
#endif
// Board driver
void boardInit();
void boardOff();