36 #include "sys_config.h"
47 #if defined(__ARMCC_VERSION)
49 #pragma diag_suppress 2525
52 #elif defined(__CWCC__)
54 #pragma cpp_extensions on
55 #elif defined(__GNUC__)
57 #elif defined(__IAR_SYSTEMS_ICC__)
59 #pragma language=extended
61 #error Not supported compiler type
69 #if defined(CHIP_LPC1343)
77 NonMaskableInt_IRQn = -14,
78 MemoryManagement_IRQn = -12,
80 UsageFault_IRQn = -10,
82 DebugMonitor_IRQn = -4,
128 TIMER_16_0_IRQn = 41,
129 TIMER_16_1_IRQn = 42,
130 TIMER_32_0_IRQn = 43,
131 TIMER_32_1_IRQn = 44,
150 #elif defined(CHIP_LPC1347)
158 NonMaskableInt_IRQn = -14,
159 HardFault_IRQn = -13,
160 MemoryManagement_IRQn = -12,
162 UsageFault_IRQn = -10,
164 DebugMonitor_IRQn = -4,
185 TIMER_16_0_IRQn = 16,
186 TIMER_16_1_IRQn = 17,
187 TIMER_32_0_IRQn = 18,
188 TIMER_32_1_IRQn = 19,
199 USB_WAKEUP_IRQn = 30,
208 #error Incorrect or missing device variant (CHIP_1343 or CHIP_1347)
217 #if defined(CHIP_LPC1343)
223 #define __MPU_PRESENT 0
224 #define __NVIC_PRIO_BITS 3
225 #define __Vendor_SysTickConfig 0
231 #elif defined(CHIP_LPC1347)
237 #define __CM3_REV 0x0201
238 #define __MPU_PRESENT 0
239 #define __NVIC_PRIO_BITS 3
240 #define __Vendor_SysTickConfig 0
248 #include "core_cm3.h"