samples: drivers: uart: async_api: exclude some platforms with LPUART

NXP platforms with the LPUART require DMA for the async feature.
Exclude platforms without DMA.  Also exclude platforms with DCACHE
since this sample does not place the UART buffers in non-cacheable
memory.

Signed-off-by: Derek Snell <derek.snell@nxp.com>
This commit is contained in:
Derek Snell 2025-04-26 17:09:00 -04:00 committed by Benjamin Cabé
parent 92ebb2eb69
commit faceffbb97

View File

@ -9,5 +9,17 @@ tests:
- uart
filter: CONFIG_SERIAL and
CONFIG_UART_ASYNC_API and
dt_chosen_enabled("zephyr,shell-uart")
dt_chosen_enabled("zephyr,shell-uart") and
not CONFIG_UART_MCUX_LPUART
harness: keyboard
sample.drivers.uart.async_api.lpuart:
tags:
- serial
- uart
filter: CONFIG_SERIAL and
CONFIG_UART_ASYNC_API and
dt_chosen_enabled("zephyr,shell-uart") and
CONFIG_UART_MCUX_LPUART and
not CONFIG_CPU_HAS_DCACHE
depends_on: dma
harness: keyboard