2018-12-12 09: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 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.
2018-12-12 10:00 AM
It goes to the first argument: http://lmgtfy.com/?q=sprintf
2018-12-12 10:00 AM
It goes to the first argument: http://lmgtfy.com/?q=sprintf
2018-12-12 10:03 AM
Oh, I got confused... Thanks
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.