aboutsummaryrefslogtreecommitdiffstats
path: root/src/stm32/main.c
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2019-09-18 10:49:23 -0400
committerKevin O'Connor <kevin@koconnor.net>2019-09-18 11:59:43 -0400
commit80e17b1e53801b13ec47a1fd8038641aa4be2e1d (patch)
tree81c68f4a14de7a4f455bb2c0a4b65503bac6d4b6 /src/stm32/main.c
parent8cb3d09484e6b304abbd905ffa1073683ffc2fcf (diff)
downloadkutter-80e17b1e53801b13ec47a1fd8038641aa4be2e1d.tar.gz
kutter-80e17b1e53801b13ec47a1fd8038641aa4be2e1d.tar.xz
kutter-80e17b1e53801b13ec47a1fd8038641aa4be2e1d.zip
stm32: Move VTOR fixup from main() to chip specific code
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src/stm32/main.c')
-rw-r--r--src/stm32/main.c3
1 files changed, 0 insertions, 3 deletions
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();