zephyr/tests/drivers/uart/uart_async_api/testcase.yaml
Alberto Escolar Piedras f82f6cdeae tests uart/uart_async_api: Improve filter
These tests were filtering by CONFIG_UART_CONSOLE,
but that does not seem a strick requirement.
It seems the requirement would just be CONFIG_SERIAL,
but that is implicit if CONFIG_SERIAL_SUPPORT_ASYNC,
which is required for all these tests, so let's
just remove CONFIG_UART_CONSOLE.

(The simulated nrf5x boards do not set CONFIG_UART_CONSOLE
by default, as by default the console is routed to the
process stdout instead)

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2024-01-12 11:27:23 -06:00

68 lines
1.9 KiB
YAML

common:
platform_exclude:
- stamp_c3
- wio_terminal
- xiao_esp32c3
tags:
- drivers
- uart
tests:
drivers.uart.async_api:
filter: CONFIG_SERIAL_SUPPORT_ASYNC and not CONFIG_UART_MCUX_LPUART
harness: ztest
harness_config:
fixture: gpio_loopback
depends_on: gpio
drivers.uart.wide:
filter: CONFIG_SERIAL_SUPPORT_ASYNC and not CONFIG_UART_MCUX_LPUART
harness: ztest
harness_config:
fixture: gpio_loopback
depends_on: gpio
extra_configs:
- CONFIG_UART_WIDE_DATA=y
arch_allow: arm
platform_allow: nucleo_h743zi
integration_platforms:
- nucleo_h743zi
drivers.uart.async_api.nrf_uart:
filter: CONFIG_SERIAL_SUPPORT_ASYNC
harness: ztest
platform_allow: nrf52840dk_nrf52840
harness_config:
fixture: gpio_loopback
depends_on: gpio
extra_args: DTC_OVERLAY_FILE="boards/nrf52840dk_nrf52840.overlay;boards/nrf_uart.overlay"
integration_platforms:
- nrf52840dk_nrf52840
drivers.uart.async_api.rtt:
filter: CONFIG_SERIAL_SUPPORT_ASYNC and CONFIG_HAS_SEGGER_RTT
and not CONFIG_UART_MCUX_LPUART and not CONFIG_UART_MCUX_FLEXCOMM
extra_args: DTC_OVERLAY_FILE=boards/segger_rtt.overlay
extra_configs:
- CONFIG_USE_SEGGER_RTT=y
- CONFIG_UART_RTT=y
platform_exclude:
- xmc45_relax_kit
- xmc47_relax_kit
build_only: true
integration_platforms:
- qemu_cortex_m0
drivers.uart.async_api.lpuart:
filter: CONFIG_SERIAL_SUPPORT_ASYNC and CONFIG_UART_MCUX_LPUART
harness: ztest
depends_on: dma
drivers.uart.async_api.sam0:
filter: CONFIG_SERIAL_SUPPORT_ASYNC and CONFIG_SOC_FAMILY_SAM0
platform_allow:
- atsamc21n_xpro
- atsamd21_xpro
- atsaml21_xpro
- atsamr21_xpro
- atsamr34_xpro
- atsame54_xpro
extra_configs:
- CONFIG_UART_SAM0_ASYNC=y
- CONFIG_DMA=y
build_only: true