cancel
Showing results for 
Search instead for 
Did you mean: 

How can I use the printf() function.

Kim.Andy
Associate III

Hellow

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

How can I do this?

Thanks

1 ACCEPTED SOLUTION

Accepted Solutions
Brian TIDAL
ST Employee

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.

View solution in original post

1 REPLY 1
Brian TIDAL
ST Employee

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.