From 80e17b1e53801b13ec47a1fd8038641aa4be2e1d Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Wed, 18 Sep 2019 10:49:23 -0400 Subject: stm32: Move VTOR fixup from main() to chip specific code Signed-off-by: Kevin O'Connor --- src/stm32/main.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/stm32/main.c') diff --git a/src/stm32/main.c b/src/stm32/main.c index 13729216..6d9290fd 100644 --- a/src/stm32/main.c +++ b/src/stm32/main.c @@ -5,7 +5,6 @@ // This file may be distributed under the terms of the GNU GPLv3 license. #include "autoconf.h" // CONFIG_MCU -#include "board/armcm_boot.h" // VectorTable #include "command.h" // DECL_CONSTANT_STR #include "internal.h" // clock_setup #include "sched.h" // sched_main @@ -23,8 +22,6 @@ DECL_COMMAND_FLAGS(command_reset, HF_IN_SHUTDOWN, "reset"); int main(void) { - SCB->VTOR = (uint32_t)VectorTable; - clock_setup(); sched_main(); -- cgit v1.2.3-70-g09d2