优化中断向量地址设置
This commit is contained in:
@@ -153,6 +153,9 @@ int main(void)
|
||||
/* USER CODE BEGIN 1 */
|
||||
#ifndef BOOTLOADER
|
||||
SCB->VTOR = 0x30000000;
|
||||
#endif
|
||||
#ifdef RUN_IN_FLASH
|
||||
SCB->VTOR = 0x08000000;
|
||||
#endif
|
||||
/* USER CODE END 1 */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user