Skip to main content
Associate III
September 7, 2023
Question

xprintf supported in STM32CubeIDE

  • September 7, 2023
  • 3 replies
  • 910 views

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

    This topic has been closed for replies.

    3 replies

    Peter BENSCH
    ST Technical Moderator
    September 7, 2023

    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.
    Associate III
    September 14, 2023

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

     

    AScha.3
    Super User
    September 14, 2023

    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 on " Best Answer ".