blob: 3e9bffa6a48b3377ecc14ecebdbbc6a73e057b51 [file] [log] [blame]
sample:
name: SPI Flash Sample
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") or dt_compat_enabled("st,stm32-xspi-nor")
or (dt_compat_enabled("nordic,qspi-nor") and CONFIG_NORDIC_QSPI_NOR)
platform_exclude: hifive_unmatched/fu740/s7 hifive_unmatched/fu740/u74
harness: console
harness_config:
type: multi_line
ordered: true
regex:
- "Test 1: Flash erase"
- "Flash erase succeeded!"
- "Test 2: Flash write"
- "Attempting to write 4 bytes"
- "Data read matches data written. Good!!"
depends_on: spi