I'm using FreeRTOS and NUCLEO-F746ZG. Is there a way to get the size of the serial port buffer memory? The only way that I found is using register but I'm looking for a better solution.
@arg UART_FLAG_RXNE: Receive data register not empty flag
Can you propose some solution, please?