Bug in generated code for fsl_dac in KSDK1.3.0?

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

Bug in generated code for fsl_dac in KSDK1.3.0?

跳至解决方案
1,491 次查看
matthias
Contributor III

Hello,

 

I am in the process of upgrading a project from KSDK 1.2.0 to KSDK 1.3.0 (KDS 3.0 with Processor Expert). However, I got some trouble with the code for the fsl_dac component that is generated by Processor Expert. Everything was working fine with KSDK 1.2.0 but now there is a strange define, that leads to an error:

83328_83328.pngpastedImage_0.png

Is there a bug in the code generation? My workaround now is to delete this define and deactivate Processor Expert code generation for this component.

 

Regards

Matthias

标签 (1)
0 项奖励
回复
1 解答
1,349 次查看
matthias
Contributor III

Hello Iva,

while generating an example project for you, I found out what the problem is. The "Component name" in my project was the same as "Device" - it was "DAC0". That was not a problem until now, but for KSDK 1.3.0 the code generator used this name to generate the define that was causing trouble. Now I changed the name to daConv0 and everything seems fine:

pastedImage_1.png

Regards

Matthias

在原帖中查看解决方案

0 项奖励
回复
2 回复数
1,349 次查看
ivadorazinova
NXP Employee
NXP Employee

Hi matthias,

please, is it possible to upload your project here?

Thank you,

Best Regards,

Iva

0 项奖励
回复
1,350 次查看
matthias
Contributor III

Hello Iva,

while generating an example project for you, I found out what the problem is. The "Component name" in my project was the same as "Device" - it was "DAC0". That was not a problem until now, but for KSDK 1.3.0 the code generator used this name to generate the define that was causing trouble. Now I changed the name to daConv0 and everything seems fine:

pastedImage_1.png

Regards

Matthias

0 项奖励
回复