zephyr/samples/drivers/jesd216/sample.yaml
Francois Ramu 6b87eedee0 samples: drivers: jesd216 reading jedec IDs from stm32 boards
Add the stm32-ospi-nor or  stm32-qspi-nor compatible to run the sample
on stm32 boards without jedec,spi-nor compatible.
No more config file needed to get the jedec ID and SFDP info from the
external quad- or octo-SPI flash of the stm32 disco boards.

Signed-off-by: Francois Ramu <francois.ramu@st.com>
2023-11-03 11:46:58 +01:00

34 lines
860 B
YAML

sample:
name: JESD216 Sample
common:
tags:
- spi
- flash
harness: console
harness_config:
type: multi_line
ordered: true
regex:
- "sfdp-bfp ="
- "jedec-id ="
tests:
sample.drivers.jesd216:
platform_exclude:
- hifive1
- hifive_unleashed
- hifive_unmatched
- mimxrt1170_evk_cm7
- mimxrt1170_evk_cm4
filter: dt_compat_enabled("jedec,spi-nor")
depends_on: spi
sample.drivers.jesd216.nrf52840dk_spi:
extra_args:
- DTC_OVERLAY_FILE=boards/nrf52840dk_nrf52840_spi.overlay
- OVERLAY_CONFIG=boards/nrf52840dk_nrf52840_spi.conf
platform_allow: nrf52840dk_nrf52840
integration_platforms:
- nrf52840dk_nrf52840
sample.drivers.stm32.jesd216:
filter: dt_compat_enabled("st,stm32-ospi-nor") or dt_compat_enabled("st,stm32-qspi-nor")
depends_on: spi