From faceffbb9795b79400b2516ec4c800e1d63f56e9 Mon Sep 17 00:00:00 2001 From: Derek Snell Date: Sat, 26 Apr 2025 17:09:00 -0400 Subject: [PATCH] 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 --- samples/drivers/uart/async_api/sample.yaml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/samples/drivers/uart/async_api/sample.yaml b/samples/drivers/uart/async_api/sample.yaml index 4fc5566a84e..442bf777d65 100644 --- a/samples/drivers/uart/async_api/sample.yaml +++ b/samples/drivers/uart/async_api/sample.yaml @@ -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