samples: drivers: spi_flash: Exclude hifive_unmatched

hifive_unmatched has a jedec,spi-nor flash node, however we have no
SPI driver for the controller so exclude the platform from this sample.

Signed-off-by: Kumar Gala <galak@kernel.org>
This commit is contained in:
Kumar Gala 2022-07-06 17:06:37 -05:00 committed by Carles Cufí
parent 92ad49e173
commit 4415a3bd3c
1 changed files with 2 additions and 0 deletions

View File

@ -4,6 +4,7 @@ tests:
sample.drivers.spi.flash:
tags: spi flash
filter: dt_compat_enabled("jedec,spi-nor") or dt_compat_enabled("st,stm32-qspi-nor") or dt_compat_enabled("st,stm32-ospi-nor")
platform_exclude: hifive_unmatched
harness: console
harness_config:
type: multi_line
@ -18,6 +19,7 @@ tests:
sample.drivers.spi.flash_dpd:
tags: spi flash
filter: dt_compat_enabled("jedec,spi-nor")
platform_exclude: hifive_unmatched
build_only: true
extra_configs:
- CONFIG_SPI_NOR_IDLE_IN_DPD=y