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:
Damien George
2023-03-06 18:15:23 +11:00
parent c551723914
commit 8b3f1d47a6
7 changed files with 35 additions and 6 deletions

View File

@@ -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;