zephyr/tests/drivers/uart/uart_async_api/src
Krzysztof Chruściński 38c129da39 tests: drivers: uart: uart_async_api: Tweak test_read_abort test
Test was staring a TX transfer and aborting it after 300 us from
the timer handler. Test was assuming that ongoing transfer will
not finish in those 300 us. This might not be true for higher
baudrates. Instead of using fixed timeout, a value is calculated
from the baudrate and targets to abort the transfer after approx.
20 bytes of 95 byte long transfer.

Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>
2025-02-03 11:17:31 +01:00
..
test_uart_async.c tests: drivers: uart: uart_async_api: Tweak test_read_abort test 2025-02-03 11:17:31 +01:00
test_uart_wide.c
test_uart.h