mirror of
https://github.com/micropython/micropython.git
synced 2026-01-04 19:20:22 +01:00
stm32/powerctrlboot: Provide custom SystemInit for WB55.
Signed-off-by: Andrew Leech <andrew.leech@planetinnovation.com.au> Signed-off-by: Damien George <damien@micropython.org>
This commit is contained in:
@@ -298,6 +298,9 @@ STATIC bool init_sdcard_fs(void) {
|
||||
#endif
|
||||
|
||||
void stm32_main(uint32_t reset_mode) {
|
||||
// Low-level MCU initialisation.
|
||||
stm32_system_init();
|
||||
|
||||
#if !defined(STM32F0) && defined(MICROPY_HW_VTOR)
|
||||
// Change IRQ vector table if configured differently
|
||||
SCB->VTOR = MICROPY_HW_VTOR;
|
||||
|
||||
Reference in New Issue
Block a user