Currently the test only pushes 1 byte in each call to uart_fifo_fill(). This doesn't test cases where the driver can accept more than 1 byte in the fifo. Instead, try to push all the bytes in the uart_fifo_fill() call. Internally the driver may only accept 1 byte, in which case the test will be equivalent as before the patch. Signed-off-by: Andriy Gelman <andriy.gelman@gmail.com> |
||
|---|---|---|
| .. | ||
| main.c | ||
| test_uart_config.c | ||
| test_uart_fifo.c | ||
| test_uart_pending.c | ||
| test_uart_poll.c | ||
| test_uart.h | ||