How to detect that console have just connected to HAL UART?
I need my code called when something connects to the HAL UART.I have a simple mini-debug that just prints something to the UART and I see it on a console connected to the STM debug COM port. I noticed that the HAL_UART_Transmit() always returns HAL_O...