Skip to content

Commit 225ecd5

Browse files
committed
tests: drivers: uart: async_dual: Extend testing
Extend test with a mode where HWFC is off and receiver is providing buffers on time. In that case receiver should be able to continuously receive data without losing any byte (even without HWFC). Additionally, TX data is chopped to verify that receiver does not loose bytes when new TX data collides with detected RX timeout. Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>
1 parent 9f41e5e commit 225ecd5

File tree

3 files changed

+191
-50
lines changed

3 files changed

+191
-50
lines changed

tests/drivers/uart/uart_async_dual/Kconfig

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,13 @@ config PM_RUNTIME_IN_TEST
1616
select PM_DEVICE
1717
select PM_DEVICE_RUNTIME
1818

19+
config TEST_CHOPPED_TX
20+
bool "Test chopped TX data"
21+
default y
22+
help
23+
When enabled then test cases that transmits TX packets in random chunks are
24+
performed. Some driver implementation do not support case when new TX data
25+
collides with handling of the RX timeout.
26+
1927
# Include Zephyr's Kconfig
2028
source "Kconfig"

0 commit comments

Comments
 (0)