S32K344 AUTOSAR MCAL configure problem

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

S32K344 AUTOSAR MCAL configure problem

跳至解决方案
3,624 次查看
tianxing
Contributor IV

I configured the ADC module with EB Troes there are some code compile problem.

Such  as this:D:/S32DS_WORKSPACE/S32K344_WB_MCAL/generate/include/Emios_Mcl_Ip_Cfg_Defines.h:51:10: fatal error: Emios_Pwm_Ip_CfgDefines.h: No such file or directory

I check the Mcl configuration in EB and found the Emios module has not been enabled.

Enable Emios Common Support is not be selected and the example which from SW32K3_RTD_4.4_2.0.0 is OK.I want to know is there any other configuration about Emios?Which can change generated file  Emios_Mcl_Ip_Cfg_Defines.h to not to include Emios_Pwm_Ip_CfgDefines.h?

 

0 项奖励
回复
1 解答
3,593 次查看
cuongnguyenphu
NXP Employee
NXP Employee

Hi @tianxing ,
Any other configuration about Emios? > Yes, It's PWM module

Which can change generated file  Emios_Mcl_Ip_Cfg_Defines.h to not to include Emios_Pwm_Ip_CfgDefines.h > In your Project, Right click on Prj name and choose Module configurations > Select Pwm module and click on Delete button to delete Pwm configuration Module.
Then you just need to restart EB Tresos end Generate code again

cuongnguyenphu_0-1656408294927.pngcuongnguyenphu_0-1656408294927.png

 

在原帖中查看解决方案

0 项奖励
回复
3 回复数
3,594 次查看
cuongnguyenphu
NXP Employee
NXP Employee

Hi @tianxing ,
Any other configuration about Emios? > Yes, It's PWM module

Which can change generated file  Emios_Mcl_Ip_Cfg_Defines.h to not to include Emios_Pwm_Ip_CfgDefines.h > In your Project, Right click on Prj name and choose Module configurations > Select Pwm module and click on Delete button to delete Pwm configuration Module.
Then you just need to restart EB Tresos end Generate code again

cuongnguyenphu_0-1656408294927.pngcuongnguyenphu_0-1656408294927.png

 

0 项奖励
回复
3,587 次查看
tianxing
Contributor IV

I tried it worked ,thank you for your help.

0 项奖励
回复
3,606 次查看
tianxing
Contributor IV

The attach file is the EB project.Please help find which configuration made the source code include Emios_Pwm_Ip_CfgDefines.h?

0 项奖励
回复