mbed library sources. Supersedes mbed-src.
Fork of mbed-dev by
Revision 68:59749b18b9de, committed 2016-02-22
- Comitter:
- mbed_official
- Date:
- Mon Feb 22 11:15:09 2016 +0000
- Parent:
- 67:4bcbbb9fcddf
- Child:
- 69:41db872bbc3a
- Commit message:
- Synchronized with git revision 471fa67c7d09da4fd560ff47800e8c9ae867130e
Full URL: https://github.com/mbedmicro/mbed/commit/471fa67c7d09da4fd560ff47800e8c9ae867130e/
[STM32L4] Set NVIC_RAM_VECTOR_ADDRESS to 0x10000000
Changed in this revision
--- a/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_DISCO_L476VG/cmsis_nvic.c Thu Feb 18 10:00:10 2016 +0000 +++ b/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_DISCO_L476VG/cmsis_nvic.c Mon Feb 22 11:15:09 2016 +0000 @@ -30,7 +30,7 @@ */ #include "cmsis_nvic.h" -#define NVIC_RAM_VECTOR_ADDRESS (0x20000000) // Vectors positioned at start of RAM +#define NVIC_RAM_VECTOR_ADDRESS (0x10000000) // Vectors positioned at start of SRAM2 #define NVIC_FLASH_VECTOR_ADDRESS (0x08000000) // Initial vector position in flash void NVIC_SetVector(IRQn_Type IRQn, uint32_t vector) {
--- a/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L476RG/cmsis_nvic.c Thu Feb 18 10:00:10 2016 +0000 +++ b/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L476RG/cmsis_nvic.c Mon Feb 22 11:15:09 2016 +0000 @@ -30,7 +30,7 @@ */ #include "cmsis_nvic.h" -#define NVIC_RAM_VECTOR_ADDRESS (0x20000000) // Vectors positioned at start of RAM +#define NVIC_RAM_VECTOR_ADDRESS (0x10000000) // Vectors positioned at start of SRAM2 #define NVIC_FLASH_VECTOR_ADDRESS (0x08000000) // Initial vector position in flash void NVIC_SetVector(IRQn_Type IRQn, uint32_t vector) {