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

1,133 次查看
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 回复数

1,117 次查看
Senlent
NXP TechSupport
NXP TechSupport
0 项奖励
回复

1,113 次查看
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 项奖励
回复

1,103 次查看
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 项奖励
回复

1,098 次查看
Hrohn
Contributor II

Hi@Senlent

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

0 项奖励
回复