Another one of those questions...
Is there a way to flush the Mini UART?
(there is a topic https://www.raspberrypi.org/forums/view ... p?t=105121, but I can't find a solution to work with mini UART)
For now I want a "simple" echo...
Code: Select all
void handleUARTInterface()
{
if (RPI_AuxMiniUartReadPending())
{
char r = RPI_AuxMiniUartRead();
printf("%c", r);
}
}
This is no "BLOCKING" thing - but quite annoying...
Any help would be appreciated (but pls not the obvious one - use the full UART

Cheers
Malban