cancel
Showing results for 
Search instead for 
Did you mean: 

xprintf supported in STM32CubeIDE

StanCosgrove
Associate II

Hi i m just wondering if xprintf are supported in STM32 IDE? Whats the lib file to include?

3 REPLIES 3
Peter BENSCH
ST Employee

Well, xprintf is one of many printf implementations and usually has the goal of reducing the memory footprint. You can of course integrate the library you like into your project, as long as it is suitable for Cortex-M.

Regards
/Peter

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.

ok, how could i use this xprintf? STM32IDE report error when use this. 

 

you have to menu: File -> "import"  the lib you want ( .c + .h ) , maybe:

https://github.com/rafagafe/xprintf

 

If you feel a post has answered your question, please click "Accept as Solution".