printf redirection with Diab Compiler

cancel
Showing results for 
Search instead for 
Did you mean: 

printf redirection with Diab Compiler

543 Views
kfirbs
Contributor III

Hi,

 

Trying to do printf with diab to my uart on MPC5748G.

I'm trying to understand how to redirect printf to uart.

Thanks.

Tags (2)
0 Kudos
3 Replies

536 Views
petervlna
NXP TechSupport
NXP TechSupport

Hello,

Please have a look at our reference example code:

https://community.nxp.com/t5/MPC5xxx-Knowledge-Base/Example-MPC5748G-PinToggleStationery-GHS614/ta-p...

 

best regards,

Peter

0 Kudos

529 Views
kfirbs
Contributor III

Thanks, but the example you shared does not redirect printf in diab compiler,

but rather uses the UART directly.

 

my goal is ti use printf from libc

0 Kudos

437 Views
Elsa_24
Contributor II

Hello,
Have you finally figured out how to implement and use prinft on the MCP5448G? I have the same problem.


Thanks

0 Kudos