diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2018-10-04 10:14:16 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2018-10-11 10:50:51 -0400 |
commit | 75fa74313c178034b80f7c1e3ad0a7b55c34a3d6 (patch) | |
tree | e161e1440dbe8de4a248a75a00457a238743c5a6 /src/stm32f1/main.c | |
parent | 215b4c5a1ef9faf261fea0989051f7dc540a74df (diff) | |
download | kutter-75fa74313c178034b80f7c1e3ad0a7b55c34a3d6.tar.gz kutter-75fa74313c178034b80f7c1e3ad0a7b55c34a3d6.tar.xz kutter-75fa74313c178034b80f7c1e3ad0a7b55c34a3d6.zip |
stm32f1: Add support for building with bootloader support
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src/stm32f1/main.c')
-rw-r--r-- | src/stm32f1/main.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/stm32f1/main.c b/src/stm32f1/main.c index c6839c36..b91d4dd0 100644 --- a/src/stm32f1/main.c +++ b/src/stm32f1/main.c @@ -135,6 +135,8 @@ int main(void) { SystemInit(); + SCB->VTOR += CONFIG_FLASH_START; + LL_Init1msTick(SystemCoreClock); clock_config(); adc_config(); |