Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@

#include "stm32f4xx.h"
#include "mbed_error.h"
#include "nvic_addr.h"

/*!< Uncomment the following line if you need to relocate your vector Table in
Internal SRAM. */
Expand Down Expand Up @@ -94,7 +95,7 @@ void SystemInit(void)
#ifdef VECT_TAB_SRAM
SCB->VTOR = SRAM_BASE | VECT_TAB_OFFSET; /* Vector Table Relocation in Internal SRAM */
#else
SCB->VTOR = FLASH_BASE | VECT_TAB_OFFSET; /* Vector Table Relocation in Internal FLASH */
SCB->VTOR = NVIC_FLASH_VECTOR_ADDRESS; /* Vector Table Relocation in Internal FLASH */
#endif

}
Expand Down
3 changes: 2 additions & 1 deletion targets/targets.json
Original file line number Diff line number Diff line change
Expand Up @@ -4092,7 +4092,8 @@
"USBDEVICE"
],
"release_versions": ["5"],
"device_name": "STM32F407ZG"
"device_name": "STM32F407ZG",
"bootloader_supported": true
},
"DISCO_F429ZI": {
"inherits": ["FAMILY_STM32"],
Expand Down
6 changes: 5 additions & 1 deletion tools/arm_pack_manager/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -363503,7 +363503,11 @@
"units": 1
}
},
"sectors": null,
"sectors": [
[134217728, 16384],
[134283264, 65536],
[134348800, 131072]
],
"sub_family": "STM32F407",
"vendor": "STMicroelectronics:13"
},
Expand Down