How to use printf() to print string to Console and UART in S32 Design Studio for S32 Platform

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

How to use printf() to print string to Console and UART in S32 Design Studio for S32 Platform

839件の閲覧回数
Hrohn
Contributor II

How to use printf() to print string to Console and UART in S32 Design Studio for S32 Platform?

newlib? ewl? Who can give me a example? Thanks!

0 件の賞賛
返信
4 返答(返信)

823件の閲覧回数
Senlent
NXP TechSupport
NXP TechSupport
0 件の賞賛
返信

819件の閲覧回数
Hrohn
Contributor II

Hi@Senlent

Thanks for your reply. But I want to redirect printf to lpuart1 and use UartAssist to communicate with MCU. How can I do? My MCU is S32K146 and the IDE is S32 DS for Platform and the SDK is S32K1XX SDK RTM v4.0.3.

0 件の賞賛
返信

809件の閲覧回数
Senlent
NXP TechSupport
NXP TechSupport

Hi@Hrohn

You can find the demo below from your IDE, hopefully this is what you are looking for.

Senlent_0-1698300275553.png

 

0 件の賞賛
返信

804件の閲覧回数
Hrohn
Contributor II

Hi@Senlent

It is not what I need. But thank you any way.

0 件の賞賛
返信