mbed library sources. Supersedes mbed-src.
Dependents: Nucleo_Hello_Encoder BLE_iBeaconScan AM1805_DEMO DISCO-F429ZI_ExportTemplate1 ... more
Diff: targets/TARGET_NUVOTON/TARGET_M480/device/cmsis_nvic.h
- Revision:
- 174:b96e65c34a4d
- Parent:
- 172:7d866c31b3c5
--- a/targets/TARGET_NUVOTON/TARGET_M480/device/cmsis_nvic.h Fri Sep 15 14:59:18 2017 +0100 +++ b/targets/TARGET_NUVOTON/TARGET_M480/device/cmsis_nvic.h Mon Oct 02 15:33:19 2017 +0100 @@ -23,7 +23,7 @@ #define NVIC_USER_IRQ_NUMBER 96 #define NVIC_NUM_VECTORS (NVIC_USER_IRQ_OFFSET + NVIC_USER_IRQ_NUMBER) -#if defined(__CC_ARM) +#if defined(__CC_ARM) || (defined(__ARMCC_VERSION) && (__ARMCC_VERSION >= 6010050)) # define NVIC_RAM_VECTOR_ADDRESS ((uint32_t) &Image$$ER_IRAMVEC$$ZI$$Base) #elif defined(__ICCARM__) # pragma section = "IRAMVEC"