diff options
Diffstat (limited to 'src/stm32f4/main.c')
-rw-r--r-- | src/stm32f4/main.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/stm32f4/main.c b/src/stm32f4/main.c index b3069cc9..4f4867a6 100644 --- a/src/stm32f4/main.c +++ b/src/stm32f4/main.c @@ -38,6 +38,8 @@ DECL_COMMAND_FLAGS(command_reset, HF_IN_SHUTDOWN, "reset"); int main(void) { + SCB->VTOR += CONFIG_FLASH_START; + clock_setup(); sched_main(); |