diff options
| author | tanek liang <[email protected]> | 2017-05-04 17:24:14 +0800 |
|---|---|---|
| committer | tanek liang <[email protected]> | 2017-05-04 17:24:14 +0800 |
| commit | 30f825ee240d8af96960cfa715c1880340ae2a0b (patch) | |
| tree | e344ba38ddcec0eea8c2578d6620d6f20af49d8c | |
| parent | 983dcc49a5b5bf4e13c78506cbcf2233c8ba0fc0 (diff) | |
correct stm32f4xx flash vector table base location
| -rw-r--r-- | bsp/stm32f429-apollo/drivers/board.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bsp/stm32f429-apollo/drivers/board.c b/bsp/stm32f429-apollo/drivers/board.c index 5f9f0530ed..544ce33f5c 100644 --- a/bsp/stm32f429-apollo/drivers/board.c +++ b/bsp/stm32f429-apollo/drivers/board.c @@ -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(); |
