zephyr/samples/drivers/spi_flash/sample.yaml

19 lines
496 B
YAML
Raw Normal View History

sample:
name: SPI Flash Sample
tests:
sample.driver.spi_flash:
tags: spi flash
filter: DT_INST_0_JEDEC_SPI_NOR_LABEL
harness: console
harness_config:
type: multi_line
ordered: true
regex:
- "Test 1: Flash erase"
- "Flash erase succeeded!"
- "Test 2: Flash write"
- "Attempted to write 55 aa"
- "Data read 55 aa"
- "Data read matches with data written. Good!!"
depends_on: spi