#ifndef __CMSIS_H_
#define __CMSIS_H_
#include "lpc_types.h"
#include "sys_config.h"
[color=#f00]//This part is missing:
#ifdef __cplusplus
extern "C" {
#endif
[/color]
/* Select correct CMSIS include file based on CHIP_* definition */
#if defined(CHIP_LPC1343)
#include "cmsis_1343.h"
typedef LPC1343_IRQn_Type IRQn_Type;
#elif defined(CHIP_LPC1347)
#include "cmsis_1347.h"
typedef LPC1347_IRQn_Type IRQn_Type;
#else
#error "No CHIP_* definition is defined"
#endif
/* Cortex-M3 processor and core peripherals */
#include "core_cm3.h"
#ifdef __cplusplus
}
#endif
#endif /* __CMSIS_H_ */
|