1common:
2  platform_exclude:
3    - stamp_c3
4    - wio_terminal
5    - xiao_esp32c3
6  tags:
7    - drivers
8    - uart
9tests:
10  drivers.uart.async_api:
11    filter: CONFIG_UART_CONSOLE and CONFIG_SERIAL_SUPPORT_ASYNC and not CONFIG_UART_MCUX_LPUART
12    harness: ztest
13    harness_config:
14      fixture: gpio_loopback
15    depends_on: gpio
16  drivers.uart.wide:
17    filter: CONFIG_UART_CONSOLE and CONFIG_SERIAL_SUPPORT_ASYNC and not CONFIG_UART_MCUX_LPUART
18    harness: ztest
19    harness_config:
20      fixture: gpio_loopback
21    depends_on: gpio
22    extra_configs:
23      - CONFIG_UART_WIDE_DATA=y
24    arch_allow: arm
25    platform_allow: nucleo_h743zi
26    integration_platforms:
27      - nucleo_h743zi
28  drivers.uart.async_api.nrf_uart:
29    filter: CONFIG_UART_CONSOLE and CONFIG_SERIAL_SUPPORT_ASYNC
30    harness: ztest
31    platform_allow: nrf52840dk_nrf52840
32    harness_config:
33      fixture: gpio_loopback
34    depends_on: gpio
35    extra_args: DTC_OVERLAY_FILE="boards/nrf52840dk_nrf52840.overlay;boards/nrf_uart.overlay"
36    integration_platforms:
37      - nrf52840dk_nrf52840
38  drivers.uart.async_api.rtt:
39    filter: CONFIG_UART_CONSOLE and CONFIG_SERIAL_SUPPORT_ASYNC and CONFIG_HAS_SEGGER_RTT
40      and not CONFIG_UART_MCUX_LPUART and not CONFIG_UART_MCUX_FLEXCOMM
41    extra_args: DTC_OVERLAY_FILE=boards/segger_rtt.overlay
42    extra_configs:
43      - CONFIG_USE_SEGGER_RTT=y
44      - CONFIG_UART_RTT=y
45    platform_exclude:
46      - xmc45_relax_kit
47      - xmc47_relax_kit
48    build_only: true
49    integration_platforms:
50      - qemu_cortex_m0
51  drivers.uart.async_api.lpuart:
52    filter: CONFIG_UART_CONSOLE and CONFIG_SERIAL_SUPPORT_ASYNC and CONFIG_UART_MCUX_LPUART
53    harness: ztest
54    depends_on: dma
55  drivers.uart.async_api.sam0:
56    filter: CONFIG_UART_CONSOLE and CONFIG_SERIAL_SUPPORT_ASYNC and CONFIG_SOC_FAMILY_SAM0
57    platform_allow:
58      - atsamc21n_xpro
59      - atsamd21_xpro
60      - atsaml21_xpro
61      - atsamr21_xpro
62      - atsamr34_xpro
63      - atsame54_xpro
64    extra_configs:
65      - CONFIG_UART_SAM0_ASYNC=y
66      - CONFIG_DMA=y
67    build_only: true
68