add board_reset_to_bootloader(), try to implement that for ch32v203 but not working yet

This commit is contained in:
hathach
2024-07-05 15:40:02 +07:00
parent 13dedddd19
commit 8d5dbb9577
5 changed files with 57 additions and 2 deletions

View File

@@ -72,6 +72,9 @@ void board_init(void);
// Init board after tinyusb is initialized
void board_init_after_tusb(void) TU_ATTR_WEAK;
// Jump to bootloader
void board_reset_to_bootloader(void) TU_ATTR_WEAK;
// Turn LED on or off
void board_led_write(bool state);