enumerator value for 'kCLKOUT_From_SysPll' is not an integer constant

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

enumerator value for 'kCLKOUT_From_SysPll' is not an integer constant

1,362 次查看
pedromoreira
Contributor I

Hi All, I try to build LPC845 project (exported from SDK 2.7) but appear the followings errors:

1.- referencing a null pointer in '*0' fsl_clock.h /LPC845_Project/drivers line 167 C/C++ Problem
2- enumerator value for 'kCLOCK_IOCONCLKDiv0' is not an integer constant

How can solved this issues?

many thanks in advance

pmoreira

0 项奖励
回复
2 回复数

1,295 次查看
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi, Pedro,

I think the SDK package version difference leads to issue that the enumerator value "kCLOCK_IOCONCLKDiv0" is NOT defined. I use SDK2.6 version, the enumerator value   kCLOCK_IOCONCLKDiv0 is defined in fsl_clock.h

I copy the screenshot.

I think the SDK version 2.7 has similar declaration in the same fsl_clock.h

Hope it can help you

BR

Xiangjun rong

pastedImage_1.png

0 项奖励
回复

1,295 次查看
pedromoreira
Contributor I

Hi xiangjun.rong, excuse me for the late reply. Many thanks for the answer.

best regard

pmoreira

0 项奖励
回复