mirror of
https://github.com/micropython/micropython.git
synced 2026-01-05 19:50:30 +01:00
stm32/modmachine: Allow boards to provide custom bootloader code.
And expose the machine_bootloader() C function so it can be used elsewhere.
This commit is contained in:
committed by
Damien George
parent
921dd94676
commit
0adf0dd3d7
@@ -37,6 +37,10 @@
|
||||
#define MICROPY_BOARD_STARTUP powerctrl_check_enter_bootloader
|
||||
#endif
|
||||
|
||||
#ifndef MICROPY_BOARD_ENTER_BOOTLOADER
|
||||
#define MICROPY_BOARD_ENTER_BOOTLOADER(nargs, args)
|
||||
#endif
|
||||
|
||||
#ifndef MICROPY_BOARD_EARLY_INIT
|
||||
#define MICROPY_BOARD_EARLY_INIT()
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user