diff options
| author | Bernard Xiong <[email protected]> | 2017-05-04 17:53:42 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2017-05-04 17:53:42 +0800 |
| commit | c65fc024279d7475fa79441d8f06b74f1d6a7460 (patch) | |
| tree | e344ba38ddcec0eea8c2578d6620d6f20af49d8c | |
| parent | 983dcc49a5b5bf4e13c78506cbcf2233c8ba0fc0 (diff) | |
| parent | 30f825ee240d8af96960cfa715c1880340ae2a0b (diff) | |
Merge pull request #730 from TanekLiang/learn
[bsp] 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(); |
