Problems with Generated Code of ADC in KDS

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

Problems with Generated Code of ADC in KDS

Jump to solution
958 Views
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?

Labels (1)
0 Kudos
Reply
1 Solution
853 Views
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

View solution in original post

0 Kudos
Reply
4 Replies
853 Views
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 Kudos
Reply
853 Views
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 Kudos
Reply
854 Views
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 Kudos
Reply
853 Views
norbertoj
Contributor III

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

BR

Norberto Jiménez

0 Kudos
Reply