zephyr/tests/drivers/uart/uart_async_dual/testcase.yaml
Krzysztof Chruściński a87e6280aa tests: drivers: uart: Add test for async API using two instance
Add test which is using two independent UART devices. Validate behavior of
asynchronous API.

Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>
2025-05-02 10:37:30 +02:00

76 lines
1.9 KiB
YAML

common:
tags:
- drivers
- uart
timeout: 120
tests:
drivers.uart.async_dual:
harness: ztest
harness_config:
fixture: uart_loopback
depends_on: gpio
platform_allow:
- nrf54l15dk/nrf54l15/cpuapp
- nrf54h20dk/nrf54h20/cpurad
- nrf54h20dk/nrf54h20/cpuppr
- nrf9160dk/nrf9160
- nrf52_bsim
drivers.uart.async_dual.busy_sim:
harness: ztest
harness_config:
fixture: uart_loopback
depends_on: gpio
platform_allow:
- nrf54l15dk/nrf54l15/cpuapp
- nrf54h20dk/nrf54h20/cpurad
- nrf54h20dk/nrf54h20/cpuppr
- nrf9160dk/nrf9160
- nrf52_bsim
extra_configs:
- CONFIG_TEST_BUSY_SIM=y
drivers.uart.async_dual.pm_runtime:
harness: ztest
harness_config:
fixture: uart_loopback
depends_on: gpio
platform_allow:
- nrf54l15dk/nrf54l15/cpuapp
- nrf54h20dk/nrf54h20/cpuapp
- nrf54h20dk/nrf54h20/cpurad
- nrf54h20dk/nrf54h20/cpuppr
- nrf9160dk/nrf9160
- nrf52_bsim
extra_configs:
- CONFIG_PM_DEVICE_RUNTIME=y
- CONFIG_PM_DEVICE=y
drivers.uart.async_dual.pm_runtime.busy_sim:
harness: ztest
harness_config:
fixture: uart_loopback
depends_on: gpio
platform_allow:
- nrf54l15dk/nrf54l15/cpuapp
- nrf54h20dk/nrf54h20/cpuapp
- nrf54h20dk/nrf54h20/cpurad
- nrf54h20dk/nrf54h20/cpuppr
- nrf9160dk/nrf9160
- nrf52_bsim
extra_configs:
- CONFIG_PM_DEVICE_RUNTIME=y
- CONFIG_PM_DEVICE=y
- CONFIG_TEST_BUSY_SIM=y
drivers.uart.async_dual.pm_runtime.explicit:
harness: ztest
harness_config:
fixture: uart_loopback
depends_on: gpio
platform_allow:
- nrf54l15dk/nrf54l15/cpuapp
- nrf54h20dk/nrf54h20/cpuapp
- nrf54h20dk/nrf54h20/cpurad
- nrf54h20dk/nrf54h20/cpuppr
- nrf9160dk/nrf9160
- nrf52_bsim
extra_configs:
- CONFIG_PM_RUNTIME_IN_TEST=y