Faulty extern C declaration in lpcopen_2_05_lpcxpresso_nxp_lpcxpresso_1347

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Faulty extern C declaration in lpcopen_2_05_lpcxpresso_nxp_lpcxpresso_1347

654件の閲覧回数
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_ */
ラベル(1)
0 件の賞賛
返信
1 返信

634件の閲覧回数
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 件の賞賛
返信