Correct disable Debug Printf in Release

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

Correct disable Debug Printf in Release

1,704件の閲覧回数
LArmstrong1985
Contributor III

Hi,

I look several example DbgConsole_Printf or printf for debug information.

What is the difference between the two?

What is the best way to complete disable debug string on Release?

Thank you in advance!

ラベル(2)
タグ(1)
0 件の賞賛
返信
3 返答(返信)

1,440件の閲覧回数
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello Fabio Benevento,

Please share more information,

-Which IDE ?

-Which chip ?

-What about your project ?

BR

Alice

0 件の賞賛
返信

1,440件の閲覧回数
LArmstrong1985
Contributor III

IDE - MCUXpresso

BOARD - FRDM-K64F

Project - Custom project based on usb mouse-keyboard with FREERTOS example. This project have several usb_echo call that print on console/uart using DbgPrintf. I would disable all this print on Release but I don't find a preprocessor define that do this.

0 件の賞賛
返信

1,440件の閲覧回数
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello Fabio,

When you import SDK demo project, you can choose "NewlibNano(none)", it will not print to debug console :

pastedImage_1.png

BR

Alice

0 件の賞賛
返信