how to use printf() to console in freertos

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

how to use printf() to console in freertos

ソリューションへジャンプ
604件の閲覧回数
arhar001
Contributor I

Hi all,

In my project it can use the printf() function to output message in the console window, but after I added the FreeRTOS module,there is noting in the console window.

How can I deal with it?

SW: S32 Design Studio for Power Architecture Version 2017.R1

Best regards,

 

0 件の賞賛
1 解決策
544件の閲覧回数
PetrS
NXP TechSupport
NXP TechSupport

Hi,

usually it is enough to 
- select library with console support
- add SEMIHOSTING in preprocessor setting for SDK based code
- enable semihosting in debug setting
So do similar as in https://community.nxp.com/t5/S32-Design-Studio/Semihosting-for-e200/td-p/667381
But seems with FreeRTOS it is not enough.

I asked SDK team to comment this, but got no feedback still.

BR, Petr

元の投稿で解決策を見る

0 件の賞賛
1 返信
545件の閲覧回数
PetrS
NXP TechSupport
NXP TechSupport

Hi,

usually it is enough to 
- select library with console support
- add SEMIHOSTING in preprocessor setting for SDK based code
- enable semihosting in debug setting
So do similar as in https://community.nxp.com/t5/S32-Design-Studio/Semihosting-for-e200/td-p/667381
But seems with FreeRTOS it is not enough.

I asked SDK team to comment this, but got no feedback still.

BR, Petr

0 件の賞賛