Commit | Line | Data |
---|---|---|
1 | /* mbed Microcontroller Library - CMSIS | |
2 | * Copyright (C) 2009 ARM Limited. All rights reserved. | |
3 | * | |
4 | * A generic CMSIS include header, pulling in the appropriate | |
5 | * target specific CMSIS files | |
6 | */ | |
7 | ||
8 | #ifndef MBED_CMSIS_H | |
9 | #define MBED_CMSIS_H | |
10 | ||
11 | #if defined(TARGET_LPC1768) | |
12 | #include "LPC17xx.h" | |
13 | #elif defined(TARGET_LPC2368) | |
14 | #include "LPC23xx.h" | |
15 | #else | |
16 | #error "CMSIS Target not recognised" | |
17 | #endif | |
18 | ||
19 | #include "cmsis_nvic.h" | |
20 | ||
21 | #endif |