Merge pull request #13342 from orsonmmz/new_olimex_e407_bloader

Support for Olimex STM32-E407 bootloader
pull/13373/head
Anna Bridge 2020-07-28 16:45:07 +01:00 committed by GitHub
commit e25b88edb0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 3 deletions

View File

@ -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. */
@ -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
}

View File

@ -4092,7 +4092,8 @@
"USBDEVICE"
],
"release_versions": ["5"],
"device_name": "STM32F407ZG"
"device_name": "STM32F407ZG",
"bootloader_supported": true
},
"DISCO_F429ZI": {
"inherits": ["FAMILY_STM32"],

View File

@ -363617,7 +363617,11 @@
"units": 1
}
},
"sectors": null,
"sectors": [
[134217728, 16384],
[134283264, 65536],
[134348800, 131072]
],
"sub_family": "STM32F407",
"vendor": "STMicroelectronics:13"
},