1sample:
2  name: JESD216 Sample
3common:
4  tags:
5    - spi
6    - flash
7  harness: console
8  harness_config:
9    type: multi_line
10    ordered: true
11    regex:
12      - "sfdp-bfp ="
13      - "jedec-id ="
14tests:
15  sample.drivers.jesd216:
16    platform_exclude:
17      - hifive1
18      - hifive_unleashed/fu540/e51
19      - hifive_unleashed/fu540/u54
20      - hifive_unmatched/fu740/s7
21      - hifive_unmatched/fu740/u74
22      - mimxrt1170_evk/mimxrt1176/cm7
23      - mimxrt1170_evk/mimxrt1176/cm4
24      - nrf54lm20dk/nrf54lm20a/cpuapp
25    filter: dt_compat_enabled("jedec,spi-nor") or dt_compat_enabled("jedec,mspi-nor")
26    depends_on: spi
27  sample.drivers.jesd216.nrf52840dk_spi:
28    extra_args:
29      - DTC_OVERLAY_FILE=boards/nrf52840dk_nrf52840_spi.overlay
30    platform_allow: nrf52840dk/nrf52840
31    integration_platforms:
32      - nrf52840dk/nrf52840
33  sample.drivers.jesd216.nrf54lm20:
34    platform_allow:
35      - nrf54lm20dk/nrf54lm20a/cpuapp
36    integration_platforms:
37      - nrf54lm20dk/nrf54lm20a/cpuapp
38    harness_config:
39      fixture: external_flash
40      type: multi_line
41      ordered: true
42      regex:
43        - "sfdp-bfp ="
44        - "jedec-id ="
45  sample.drivers.stm32.jesd216:
46    filter: dt_compat_enabled("st,stm32-xspi-nor")
47      or dt_compat_enabled("st,stm32-ospi-nor")
48      or dt_compat_enabled("st,stm32-qspi-nor")
49    depends_on: spi
50