DISCO_F746NG: add bootloader support

pull/8850/head
bcostm 2018-11-23 10:52:13 +01:00
parent 7995e8beac
commit a35deac578
2 changed files with 3 additions and 1 deletions

View File

@ -30,6 +30,7 @@
**/
#include "stm32f7xx.h"
#include "nvic_addr.h"
#include "mbed_error.h"
/*!< Uncomment the following line if you need to relocate your vector Table in
@ -92,7 +93,7 @@ void SystemInit(void)
#ifdef VECT_TAB_SRAM
SCB->VTOR = RAMDTCM_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

@ -3460,6 +3460,7 @@
],
"release_versions": ["2", "5"],
"device_name": "STM32F746NG",
"bootloader_supported": true,
"overrides": {
"network-default-interface-type": "ETHERNET"
}