printf redirection with Diab Compiler

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

printf redirection with Diab Compiler

778 次查看
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.

标记 (2)
0 项奖励
3 回复数

771 次查看
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 项奖励

764 次查看
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 项奖励

672 次查看
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 项奖励