2024-11-27 02:50 AM
Hello,
I am trying to print my logs in Cube-Ide debug session using printf. But i cannot see the logs in the console.
So, is there any solution to this.
Thank you,
Harsh
2024-11-27 03:07 AM
@harshpanchal_6 wrote:I am trying to print my logs in Cube-Ide debug session using printf.
How, exactly, are you trying to do that?
@harshpanchal_6 wrote:is there any solution to this.
Fix whatever it is you've done wrong, and/or do whatever you've omitted to do.
As we have no idea what you have done, there's no way to say how to fix it!
If you're trying to redirect printf over a UART, make sure that you have the basic, raw UART comms working first:
https://wiki.st.com/stm32mcu/wiki/Getting_started_with_UART