printf redirection with Diab Compiler

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

printf redirection with Diab Compiler

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

1,173件の閲覧回数
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 件の賞賛
返信

1,166件の閲覧回数
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 件の賞賛
返信

1,074件の閲覧回数
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 件の賞賛
返信