Hi all,
I need to use 2 UART ports of the TM4C123 with the buffering functionality provided by UARTStdio. However UARTStdio is designed to work with a single UART port. The solution I see is to duplicate all the necessary functions and variables in UARTStdio.[ch], or even the whole files to something like UARTStdio2.[ch]
, however I was wondering if anyone has come up with a more elegant and less time consuming solution.
Note that I would prefer not to modify the original UARTStdio functions to the point that it breaks compatibility with existing application that are already using them.
Any suggestions appreciated,
Giannis