Browse Source

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>
pull/89236/head
Derek Snell 2 months ago committed by Benjamin Cabé
parent
commit
faceffbb97
  1. 14
      samples/drivers/uart/async_api/sample.yaml

14
samples/drivers/uart/async_api/sample.yaml

@ -9,5 +9,17 @@ tests: @@ -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

Loading…
Cancel
Save