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"
|
||||||
}
|
}
|
||||||
|
@ -4461,7 +4462,7 @@
|
||||||
"mbed_rom_start": "0x10040000",
|
"mbed_rom_start": "0x10040000",
|
||||||
"mbed_rom_size": "0x40000",
|
"mbed_rom_size": "0x40000",
|
||||||
"mbed_ram_start": "0x30008000",
|
"mbed_ram_start": "0x30008000",
|
||||||
"mbed_ram_size": "0x10000",
|
"mbed_ram_size": "0x10000",
|
||||||
"inherits": ["Target"],
|
"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"],
|
"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"],
|
"detect_code": ["1305"],
|
||||||
|
|
Loading…
Reference in New Issue