Faulty extern C declaration in lpcopen_2_05_lpcxpresso_nxp_lpcxpresso_1347

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Faulty extern C declaration in lpcopen_2_05_lpcxpresso_nxp_lpcxpresso_1347

310 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by R2D2 on Fri May 16 18:25:00 MST 2014
Extern C declaration in cmsis.h of lpc_chip_13xx in lpcopen_2_05_lpcxpresso_nxp_lpcxpresso_1347 is faulty:

#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_ */
Labels (1)
0 Kudos
1 Reply

290 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by sundarapandian on Wed May 21 09:43:08 MST 2014
Thank you for letting us know about the missing block. The issue is fixed and will available in the next release.
0 Kudos