zephyr/tests/drivers/uart/uart_async_api/src
Derek Hageman 5d65ee1383 tests: drivers: uart: Explicitly test incremental receive length
Add an explict test for the length of the receive event when
doing incremental receives.  This was not tested anywhere in the
normal code path (only implicitly in the abort, which wasn't
exercised on the only current implementation, nrfx).  So add an
explicit check for it during the chained reads, so that the
test can catch the case where multiple receive events do not set
the length correctly on events past the first.

Tested on nrf52840_pca10056.

Signed-off-by: Derek Hageman <hageman@inthat.cloud>
2019-05-27 09:23:39 -04:00
..
main.c tests: uart: Add long tranfer test to UART_ASYNC_API. 2019-05-16 13:47:07 +02:00
test_uart_async.c tests: drivers: uart: Explicitly test incremental receive length 2019-05-27 09:23:39 -04:00
test_uart.h tests: uart: Add long tranfer test to UART_ASYNC_API. 2019-05-16 13:47:07 +02:00