|
STM32 Bootloader
Customizable Bootloader for STM32 microcontrollers
|
Macros | |
| #define | BOOTLOADER_VERSION_MAJOR 1U |
| #define | BOOTLOADER_VERSION_MINOR 1U |
| #define | BOOTLOADER_VERSION_PATCH 3U |
Enumerations | |
| enum | BootloaderCommand { BL_CMD_LAUNCH_APPLICATION = 0U , BL_CMD_ENTER_SYSMEM_BOOT , BL_CMD_UPDATE_FIRMWARE } |
Functions | |
| static BootloaderCommand | WaitForUserCommand (void) |
| Wait for a user command by monitoring the button press duration. More... | |
| static bool | WaitForSingleButtonPress (void) |
| Wait for a single button press within a timeout period. More... | |
| int | main (void) |
| The main function. More... | |
| enum BootloaderCommand |
| int main | ( | void | ) |
|
static |
|
static |
Wait for a user command by monitoring the button press duration.
The button press duration determines the bootloader action: