mirror of https://github.com/ARMmbed/mbed-os.git
Merge pull request #13342 from orsonmmz/new_olimex_e407_bloader
Support for Olimex STM32-E407 bootloaderpull/13373/head
commit
e25b88edb0
|
@ -31,6 +31,7 @@
|
||||||
|
|
||||||
#include "stm32f4xx.h"
|
#include "stm32f4xx.h"
|
||||||
#include "mbed_error.h"
|
#include "mbed_error.h"
|
||||||
|
#include "nvic_addr.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
|
||||||
Internal SRAM. */
|
Internal SRAM. */
|
||||||
|
@ -94,7 +95,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
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -4092,7 +4092,8 @@
|
||||||
"USBDEVICE"
|
"USBDEVICE"
|
||||||
],
|
],
|
||||||
"release_versions": ["5"],
|
"release_versions": ["5"],
|
||||||
"device_name": "STM32F407ZG"
|
"device_name": "STM32F407ZG",
|
||||||
|
"bootloader_supported": true
|
||||||
},
|
},
|
||||||
"DISCO_F429ZI": {
|
"DISCO_F429ZI": {
|
||||||
"inherits": ["FAMILY_STM32"],
|
"inherits": ["FAMILY_STM32"],
|
||||||
|
|
|
@ -363617,7 +363617,11 @@
|
||||||
"units": 1
|
"units": 1
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"sectors": null,
|
"sectors": [
|
||||||
|
[134217728, 16384],
|
||||||
|
[134283264, 65536],
|
||||||
|
[134348800, 131072]
|
||||||
|
],
|
||||||
"sub_family": "STM32F407",
|
"sub_family": "STM32F407",
|
||||||
"vendor": "STMicroelectronics:13"
|
"vendor": "STMicroelectronics:13"
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue