From ec3d865b517affd77678e5b1a45ef4691619726d Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Sun, 28 Jul 2019 18:26:22 -0400 Subject: stm32f4: Add support for USB on stm32f103 Signed-off-by: Kevin O'Connor --- src/stm32f4/main.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/stm32f4/main.c') 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(); -- cgit v1.2.3-70-g09d2