Enable bootloader for NUCLEO_F207ZG

pull/7871/head
Juho Eskeli 2018-08-23 16:11:54 +03:00
parent 22137b45dd
commit 5cc06238ea
2 changed files with 4 additions and 2 deletions

View File

@ -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
} }

View File

@ -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"
} }