Sprintf issue in mpc5744

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

Sprintf issue in mpc5744

409 次查看
Dhevan
Contributor IV

Hello All,

I am trying use sprintf and snprintf in our code. But after sprintf function, code got hanged. It's not executing the next line of the code.

Please help me to resolve this issue.

 

Regards,

  Vasu

0 项奖励
2 回复数

378 次查看
A-Jay
Contributor III

Hi,
I had a similar problem.And in the project properties,I found C/C++ build->Setting ->C Linker -> Miscellaneous ,Check to support print float format.

AJay_0-1670497695888.png

 

标记 (1)
0 项奖励

395 次查看
PetrS
NXP TechSupport
NXP TechSupport

Hi,

there are few SDK based examples within S32DS where sprintf is used. Refer e.g. to 
- ic_pal_mpc5744p 
- fccu_fault_injection_mpc5744p
- ammclib_mpc5744p

BR, Petr

0 项奖励