mirror of https://github.com/ARMmbed/mbed-os.git
Enable bootloader for NUCLEO_F207ZG
parent
22137b45dd
commit
5cc06238ea
|
@ -30,6 +30,7 @@
|
||||||
**/
|
**/
|
||||||
|
|
||||||
#include "stm32f2xx.h"
|
#include "stm32f2xx.h"
|
||||||
|
#include "nvic_addr.h"
|
||||||
#include "mbed_error.h"
|
#include "mbed_error.h"
|
||||||
|
|
||||||
/*!< Uncomment the following line if you need to relocate your vector Table in
|
/*!< Uncomment the following line if you need to relocate your vector Table in
|
||||||
|
@ -88,7 +89,7 @@ void SystemInit(void)
|
||||||
#ifdef VECT_TAB_SRAM
|
#ifdef VECT_TAB_SRAM
|
||||||
SCB->VTOR = SRAM_BASE | VECT_TAB_OFFSET; /* Vector Table Relocation in Internal SRAM */
|
SCB->VTOR = SRAM_BASE | VECT_TAB_OFFSET; /* Vector Table Relocation in Internal SRAM */
|
||||||
#else
|
#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
|
#endif
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -979,6 +979,7 @@
|
||||||
"device_has_remove": ["LPTICKER"],
|
"device_has_remove": ["LPTICKER"],
|
||||||
"release_versions": ["2", "5"],
|
"release_versions": ["2", "5"],
|
||||||
"device_name": "STM32F207ZG",
|
"device_name": "STM32F207ZG",
|
||||||
|
"bootloader_supported": true,
|
||||||
"overrides": {
|
"overrides": {
|
||||||
"network-default-interface-type": "ETHERNET"
|
"network-default-interface-type": "ETHERNET"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue