Problems with Generated Code of ADC in KDS

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

Problems with Generated Code of ADC in KDS

跳至解决方案
955 次查看
norbertoj
Contributor III

Hello, I have these ADC components in my Processor Expert project. 

165511_165511.PNGADCComponent.PNG

 

My problem is that  KDS 3.0.0 mark the next problems: 

165521_165521.PNGProblemsADC.PNG

I suspect that KDS can't identify the prototypes or types of function with bytes. I tried to erase only the files of ADC components and KDS didn't throw problems for others components. I don't know why I have only errors with headers of the ADC component, the prototype in the header is the same that the file .c

 

165522_165522.PNGFunctionADC.PNG

 

Perhaps, it can't identify the type byte of PE_Types, I don't know. Anybody can help me?

标签 (1)
0 项奖励
回复
1 解答
850 次查看
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello Norberto,

I checked you use the MQX lib in project , there maybe some conflict between

MQX lib and PE lib . THere is a workaround , you can try :

Processor Expert generating code with errors 

If still can not used , could you please use the MQX on PE :

pastedImage_2.png

BR

Alice

在原帖中查看解决方案

0 项奖励
回复
4 回复数
850 次查看
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello ,

Could you please show your project, then i can check it, if it  inconvenient , you can only the

project which only include ADC .

BR

ALice

0 项奖励
回复
850 次查看
norbertoj
Contributor III

Hello Alice.

I'm sending you the project with PE. It's very weird that I have only problems with the generated files of the ADC Module.

BR,

Norberto Jiménez

0 项奖励
回复
851 次查看
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello Norberto,

I checked you use the MQX lib in project , there maybe some conflict between

MQX lib and PE lib . THere is a workaround , you can try :

Processor Expert generating code with errors 

If still can not used , could you please use the MQX on PE :

pastedImage_2.png

BR

Alice

0 项奖励
回复
850 次查看
norbertoj
Contributor III

Thank you Alice Yang. It's working now. I add bool=_Bool and it works. 

BR

Norberto Jiménez

0 项奖励
回复