test
Fork of mbed-dev by
Diff: targets/TARGET_STM/nvic_addr.h
- Revision:
- 175:b96e65c34a4d
- Parent:
- 169:9672193075cf
--- a/targets/TARGET_STM/nvic_addr.h Fri Sep 15 14:59:18 2017 +0100 +++ b/targets/TARGET_STM/nvic_addr.h Mon Oct 02 15:33:19 2017 +0100 @@ -23,7 +23,7 @@ #if defined(__ICCARM__) #pragma section=".intvec" #define NVIC_FLASH_VECTOR_ADDRESS ((uint32_t)__section_begin(".intvec")) -#elif defined(__CC_ARM) +#elif defined(__CC_ARM) || (defined(__ARMCC_VERSION) && (__ARMCC_VERSION >= 6010050)) extern uint32_t Load$$LR$$LR_IROM1$$Base[]; #define NVIC_FLASH_VECTOR_ADDRESS ((uint32_t)Load$$LR$$LR_IROM1$$Base) #elif defined(__GNUC__)