Where does the output of 'sprintf' goes to ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-12-12 9:56 AM
Hello,
I use stm32cubeH7 examples.
I find in some of them call to sprintf, yet I don't understand where is the output of the sprintf goes to:
- I tried opening the "STMicroelectronics STLink virtual com port" - nothing is printed here
- I also tried to search for a debug console window in IAR - I did not find such
I tried to see where sprintf is defined in code, and also did not find the relevant c file ( it seems to be part of IAR C compiler files)
Thanks for any idea,
ran
Solved! Go to Solution.
- Labels:
-
STM32H7 Series
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-12-12 10:00 AM
It goes to the first argument: http://lmgtfy.com/?q=sprintf
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-12-12 10:00 AM
It goes to the first argument: http://lmgtfy.com/?q=sprintf
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-12-12 10:03 AM
Oh, I got confused... Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-12-12 11:46 AM
printf output can be observed in the IAR Terminal I/O window, provided that you have built the project with Semihosted Library low-level interface option.
