zephyr/tests/subsys/modem/backends/uart/Kconfig
Bjarki Arge Andreasen 24dd37929c tests: modem: backends: uart: add hw flow control option
Extend test modem uart backend test suite to support testing hw
flow control, which is performed by using a small receive
buffer for the modem uart backend, and slowing down the read
of received data, ensuring the buffer will be overrun if hw flow
control is not working.

Signed-off-by: Bjarki Arge Andreasen <bjarki.andreasen@nordicsemi.no>
2025-05-05 14:24:49 +02:00

17 lines
535 B
Plaintext

# Copyright (c) 2025 Nordic Semiconductor ASA
# SPDX-License-Identifier: Apache-2.0
source "Kconfig.zephyr"
config TEST_HW_FLOW_CONTROL
bool "Test hardware flow control"
help
By default, the test uses backend transmit and receive
buffers of adequate size, and waits until transmitted
data has been fully received before next transmit.
This option limits the backend receive buffer size and
imposes a delay on reading received data, ensuring
transmitted data will be dropped if hw flow control is
not enabled.