Example S32K312 Printf Semihosting DS3.5 RTD300

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

Example S32K312 Printf Semihosting DS3.5 RTD300

Example S32K312 Printf Semihosting DS3.5 RTD300

*******************************************************************************

 The purpose of this demo application is to present a usage of the
Printf Semihosting for the S32K3xx MCU.

 ------------------------------------------------------------------------------
* Test HW: S32K3X2EVB-Q172
* MCU: S32K312
* Compiler: S32DS3.5
* SDK release: RTD 3.0.0
* Debugger: PE micro
* Target: internal_FLASH
********************************************************************************

Create New project :--

Dinesh_Guleria_0-1707031699387.png



Select Semi hosting library in project Properties :--

Dinesh_Guleria_1-1707031800366.png



In Debugger setting :---

Dinesh_Guleria_2-1707031851198.png



Include file :--
#include <stdio.h>

Output :--

Dinesh_Guleria_3-1707031893795.png

 

 

附件
评论

Hi @Dinesh_Guleria ,

 

Thanks for the information. It works but only with debugger.

I cannot run the code without debugger with given settings.

It runs without debugger when I select "libraries support" as non semihosting options like  newlib or newlib nano.

 

What could you suggest?

 

无评分
版本历史
最后更新:
‎02-04-2024 12:32 AM
更新人: