mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-02-21 10:07:13 +08:00
Merge pull request #730 from TanekLiang/learn
[bsp] correct stm32f4xx flash vector table base location
This commit is contained in:
commit
c65fc02427
@ -143,7 +143,7 @@ void rt_hw_board_init()
|
||||
SCB->VTOR = (0x10000000 & NVIC_VTOR_MASK);
|
||||
#else /* VECT_TAB_FLASH */
|
||||
/* Set the Vector Table base location at 0x00000000 */
|
||||
SCB->VTOR = (0x00000000 & NVIC_VTOR_MASK);
|
||||
SCB->VTOR = (0x08000000 & NVIC_VTOR_MASK);
|
||||
#endif
|
||||
HAL_Init();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user