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 #define __CM4_REV 0x0000
70 #define __MPU_PRESENT 1
71 #define __NVIC_PRIO_BITS 5
72 #define __Vendor_SysTickConfig 0
75 #define __FPU_PRESENT 1
89 NonMaskableInt_IRQn = -14,
91 MemoryManagement_IRQn = -12,
93 UsageFault_IRQn = -10,
95 DebugMonitor_IRQn = -4,
133 USBActivity_IRQn = 33,
134 CANActivity_IRQn = 34,
147 #include "core_cm4.h"
149 #elif defined(CORE_M3)
154 #define __MPU_PRESENT 1
155 #define __NVIC_PRIO_BITS 5
156 #define __Vendor_SysTickConfig 0
157 #define __FPU_PRESENT 0
170 NonMaskableInt_IRQn = -14,
171 HardFault_IRQn = -13,
172 MemoryManagement_IRQn = -12,
174 UsageFault_IRQn = -10,
176 DebugMonitor_IRQn = -4,
194 #if defined(CHIP_LPC175X_6X)
214 #if defined(CHIP_LPC175X_6X)
222 USBActivity_IRQn = 33,
223 CANActivity_IRQn = 34,
224 #if defined(CHIP_LPC177X_8X)
238 #include "core_cm3.h"
241 #error Please #define CORE_M3 or CORE_M4