zephyr/samples/drivers/spi_flash/sample.yaml
Sebastian Głąb 231b663495 samples: drivers: spi_flash: Enable sample on nrf54lm20dk
Add overlay required to run the sample on
nrf54lm20dk/nrf54lm20a/cpuapp.

Signed-off-by: Sebastian Głąb <sebastian.glab@nordicsemi.no>
2025-07-21 07:51:19 -04:00

43 lines
1.3 KiB
YAML

sample:
name: SPI Flash Sample
common:
tags:
- spi
- flash
depends_on: spi
tests:
sample.drivers.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") or dt_compat_enabled("jedec,mspi-nor")
platform_exclude:
- hifive_unmatched/fu740/s7
- hifive_unmatched/fu740/u74
- nrf54lm20dk/nrf54lm20a/cpuapp
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!!"
sample.drivers.spi.flash.nrf54lm20:
platform_allow:
- nrf54lm20dk/nrf54lm20a/cpuapp
integration_platforms:
- nrf54lm20dk/nrf54lm20a/cpuapp
harness: console
harness_config:
fixture: external_flash
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!!"