printf redirection with Diab Compiler

キャンセル
次の結果を表示 
次の代わりに検索 
もしかして: 

printf redirection with Diab Compiler

405件の閲覧回数
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 返答(返信)

398件の閲覧回数
petervlna
NXP Employee
NXP Employee

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 件の賞賛

391件の閲覧回数
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 件の賞賛

299件の閲覧回数
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 件の賞賛