From 30f825ee240d8af96960cfa715c1880340ae2a0b Mon Sep 17 00:00:00 2001 From: tanek liang Date: Thu, 4 May 2017 17:24:14 +0800 Subject: [PATCH] correct stm32f4xx flash vector table base location --- bsp/stm32f429-apollo/drivers/board.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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();