Sprintf issue in mpc5744

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

Sprintf issue in mpc5744

402 Views
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 Kudos
2 Replies

371 Views
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

 

Tags (1)
0 Kudos

388 Views
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 Kudos