Skip to main content
Kim.Andy
Associate II
September 15, 2021
Solved

How can I use the printf() function.

Hellow

I want to display any debug message on the console of the CubeIDE, using the printf() function.

How can I do this?

Thanks

This topic has been closed for replies.
Brian TIDAL
Brian TIDALBest answer
ST Technical Moderator
September 15, 2021

Hi,

you can have a look to AN4989 STM32 microcontroller debug toolbox. §7 of this AN explains how to do debugging with printf

Rgds

BT

In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

1 reply

Brian TIDAL
Brian TIDALBest answer
ST Technical Moderator
September 15, 2021

Hi,

you can have a look to AN4989 STM32 microcontroller debug toolbox. §7 of this AN explains how to do debugging with printf

Rgds

BT

In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.