We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 23b443b + a4c692b commit cb4449aCopy full SHA for cb4449a
targets/TARGET_STM/TARGET_STM32WB/STM32Cube_FW/system_stm32wbxx.c
@@ -196,7 +196,8 @@ void SystemInit(void)
196
/* program in SRAMx */
197
SCB->VTOR = VECT_TAB_BASE_ADDRESS | VECT_TAB_OFFSET; /* Vector Table Relocation in Internal SRAMx for CPU1 */
198
#else /* program in FLASH */
199
- SCB->VTOR = VECT_TAB_OFFSET; /* Vector Table Relocation in Internal FLASH */
+#include "nvic_addr.h" // MBED
200
+ SCB->VTOR = NVIC_FLASH_VECTOR_ADDRESS; // MBED
201
#endif
202
203
/* FPU settings ------------------------------------------------------------*/
0 commit comments