stdio.h in DS for S32K118

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

stdio.h in DS for S32K118

跳至解决方案
2,124 次查看
wei_w_he
Contributor IV

Dear Officer,

I am working on S32K118 with Design Studio. It supports the stdio.h as standard. Is there any linkage between this stdio with DS debug? e.g. steerr, stdin and stuout can be "displayed" via any DS window? (The Console, Debugger Console and Debug windows seems not related with it).

 

Thanks and best regards

He Wei

 

 

标签 (1)
0 项奖励
回复
1 解答
2,091 次查看
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hello He,

I'm not aware of such document.

EWL comes from Freescale/NXP, NewLib is a standard distributed under freeware license:

https://sourceware.org/newlib/

Some introduction can be found S32DS user guide (c:\NXP\S32DS_ARM_v2.2\S32DS\help\pdf\S32DS_ARM_User_Guide.pdf):

lukaszadrapa_0-1603709318620.png

Documentation for EWL can be found here:

c:\NXP\S32DS_ARM_v2.2\S32DS\help\resources\manuals\ewl_c_reference.pdf

Regards,

Lukas

 

 

在原帖中查看解决方案

3 回复数
2,112 次查看
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi,

something similar was already discussed here:

https://community.nxp.com/t5/S32-SDK/S32K-and-printf-implementation/m-p/867907

I guess this could help.

Regards,

Lukas

 

0 项奖励
回复
2,097 次查看
wei_w_he
Contributor IV

Dear Lucas,

Thanks for the information. I notice we need to configure the Libraries support setting to ewl_c no I/O (-specs=ewl_c9x_noio.specs), and there are few options we can select such as newlib_nano no I/O, etc.

Is there doc. to explain the usage for each setting?

Thanks and best regards

He Wei

 

0 项奖励
回复
2,092 次查看
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hello He,

I'm not aware of such document.

EWL comes from Freescale/NXP, NewLib is a standard distributed under freeware license:

https://sourceware.org/newlib/

Some introduction can be found S32DS user guide (c:\NXP\S32DS_ARM_v2.2\S32DS\help\pdf\S32DS_ARM_User_Guide.pdf):

lukaszadrapa_0-1603709318620.png

Documentation for EWL can be found here:

c:\NXP\S32DS_ARM_v2.2\S32DS\help\resources\manuals\ewl_c_reference.pdf

Regards,

Lukas