2019-11-07 01:13 PM
I can't find the correct answer from Internet and I don't know do I need to write some code to USART /UART. I have those initialized by code generated by Cube MX.
2019-11-07 02:32 PM
Look at syscalls.c , how it implements _write() and the functions it calls. ST wraps these things in a couple of ways. Look/search for __io_putchar()
Yes the USART/UART needs to be up and functional, so pins, clocks, peripheral. Usually ends up calling HAL_UART_Transmit(), or functional equivalent.
2019-11-08 11:46 AM
Do I need to know which USART (1,2,3) is going to ST link with this eval board? And do I need to use that information when creating project with Cube MX?