zephyr/tests/subsys/modem/backends/uart/testcase.yaml
Markus Lassila 10bd2de235 modem: backend: uart: Add hw-flow-control for UART
Add Asynchronous UART implementation, which does not drop data
when automatic hardware-flow-control is set in the device tree.

With automatic hardware flow control, the CTS pin will be
automatically deactivated when there are no more asynchronous
UART RX buffers available. After buffer space becomes available,
and UART RX is restarted, the CTS pin will be activated.

Signed-off-by: Markus Lassila <markus.lassila@nordicsemi.no>
2025-05-05 14:24:49 +02:00

31 lines
702 B
YAML

# Copyright (c) 2023 Trackunit Corporation
# SPDX-License-Identifier: Apache-2.0
common:
harness: ztest
harness_config:
fixture: gpio_loopback
tests:
modem.backends.uart.async:
extra_configs:
- CONFIG_UART_ASYNC_API=y
platform_allow:
- b_u585i_iot02a
- nrf5340dk/nrf5340/cpuapp
modem.backends.uart.async.hwfc:
extra_configs:
- CONFIG_UART_ASYNC_API=y
- CONFIG_MODEM_BACKEND_UART_ASYNC_HWFC=y
- CONFIG_TEST_HW_FLOW_CONTROL=y
platform_allow:
- nrf5340dk/nrf5340/cpuapp
modem.backends.uart.isr:
extra_configs:
- CONFIG_UART_INTERRUPT_DRIVEN=y
platform_allow:
- b_u585i_iot02a
- nrf5340dk/nrf5340/cpuapp