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 "nvic_addr.h"
#include "mbed_error.h"
/*!< Uncomment the following line if you need to relocate your vector Table in
@ -88,7 +89,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
}

View File

@ -979,6 +979,7 @@
"device_has_remove": ["LPTICKER"],
"release_versions": ["2", "5"],
"device_name": "STM32F207ZG",
"bootloader_supported": true,
"overrides": {
"network-default-interface-type": "ETHERNET"
}
@ -4461,7 +4462,7 @@
"mbed_rom_start": "0x10040000",
"mbed_rom_size": "0x40000",
"mbed_ram_start": "0x30008000",
"mbed_ram_size": "0x10000",
"mbed_ram_size": "0x10000",
"inherits": ["Target"],
"device_has": ["USTICKER", "LPTICKER", "RTC", "ANALOGIN", "I2C", "I2CSLAVE", "I2C_ASYNCH", "INTERRUPTIN", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "SERIAL", "SERIAL_ASYNCH", "SERIAL_FC", "STDIO_MESSAGES", "SLEEP", "SPI", "SPISLAVE", "SPI_ASYNCH", "TRNG", "FLASH"],
"detect_code": ["1305"],