bootloader: combine console code for ESP32 and S2, add USB support

This commit is contained in:
Ivan Grokhotkov
2020-04-30 15:30:15 +02:00
parent 5ee75165f2
commit 6dfb2d83a7
7 changed files with 137 additions and 2 deletions

View File

@@ -75,6 +75,11 @@ void bootloader_utility_load_boot_image_from_deep_sleep(void);
*/
__attribute__((noreturn)) void bootloader_reset(void);
/**
* @brief Do any cleanup before exiting the bootloader, before starting the app or resetting
*/
void bootloader_atexit(void);
/**
* @brief Converts an array to a printable string.
*