File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
TARGET_STM/TARGET_STM32F7/TARGET_STM32F746xG/TARGET_DISCO_F746NG Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change 30
30
**/
31
31
32
32
#include "stm32f7xx.h"
33
+ #include "nvic_addr.h"
33
34
#include "mbed_error.h"
34
35
35
36
/*!< Uncomment the following line if you need to relocate your vector Table in
@@ -92,7 +93,7 @@ void SystemInit(void)
92
93
#ifdef VECT_TAB_SRAM
93
94
SCB -> VTOR = RAMDTCM_BASE | VECT_TAB_OFFSET ; /* Vector Table Relocation in Internal SRAM */
94
95
#else
95
- SCB -> VTOR = FLASH_BASE | VECT_TAB_OFFSET ; /* Vector Table Relocation in Internal FLASH */
96
+ SCB -> VTOR = NVIC_FLASH_VECTOR_ADDRESS ; /* Vector Table Relocation in Internal FLASH */
96
97
#endif
97
98
98
99
}
Original file line number Diff line number Diff line change 3460
3460
],
3461
3461
"release_versions" : [" 2" , " 5" ],
3462
3462
"device_name" : " STM32F746NG" ,
3463
+ "bootloader_supported" : true ,
3463
3464
"overrides" : {
3464
3465
"network-default-interface-type" : " ETHERNET"
3465
3466
}
You can’t perform that action at this time.
0 commit comments