소스 검색

Merge pull request #730 from TanekLiang/learn

[bsp] correct stm32f4xx flash vector table base location
Bernard Xiong 8 년 전
부모
커밋
c65fc02427
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      bsp/stm32f429-apollo/drivers/board.c

+ 1 - 1
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();