aboutsummaryrefslogtreecommitdiff
path: root/ports/stm32/boardctrl.h
AgeCommit message (Collapse)Author
2021-04-09stm32/boardctrl: Give boards control over execution of boot.py,main.py.Damien George
This commit simplifies the customisation of the main MicroPython execution loop (4 macros are reduced to 2), and allows a board to have full control over the execution (or not) of boot.py and main.py. For boards that use the default start-up code, there is no functional change in this commit. Signed-off-by: Damien George <damien@micropython.org>
2021-03-11stm32/boardctrl: Add MICROPY_BOARD_STARTUP hook.Damien George
Signed-off-by: Damien George <damien@micropython.org>
2020-11-11stm32/boardctrl: Define MICROPY_BOARD_EARLY_INIT alongside others.Damien George
Signed-off-by: Damien George <damien@micropython.org>
2020-11-11stm32: Add MICROPY_BOARD calls in various places in stm32_main.Damien George
For a board to have full configurability of the soft reset loop. Signed-off-by: Damien George <damien@micropython.org>