1common:
2  tags:
3    - drivers
4    - flash
5tests:
6  drivers.flash.common.nrf_qspi_nor:
7    platform_allow: nrf52840dk_nrf52840
8    extra_args: OVERLAY_CONFIG=boards/nrf52840_flash_qspi.conf
9    integration_platforms:
10      - nrf52840dk_nrf52840
11  drivers.flash.common.nrf_qspi_nor.size_in_bytes:
12    platform_allow: nrf52840dk_nrf52840
13    extra_args:
14      - OVERLAY_CONFIG=boards/nrf52840_flash_qspi.conf
15      - DTC_OVERLAY_FILE=boards/nrf52840_size_in_bytes.overlay
16    integration_platforms:
17      - nrf52840dk_nrf52840
18  drivers.flash.common.nrf_qspi_nor_4B_addr:
19    platform_allow: nrf52840dk_nrf52840
20    extra_args:
21      - OVERLAY_CONFIG=boards/nrf52840_flash_qspi.conf
22      - DTC_OVERLAY_FILE=boards/nrf52840dk_mx25l51245g.overlay
23    harness_config:
24      fixture: external_flash_mx25l51245g
25    integration_platforms:
26      - nrf52840dk_nrf52840
27  drivers.flash.common.soc_flash_nrf:
28    platform_allow: nrf52840dk_nrf52840
29    extra_args: OVERLAY_CONFIG=boards/nrf52840_flash_soc.conf
30    integration_platforms:
31      - nrf52840dk_nrf52840
32  drivers.flash.common.default:
33    filter: ((CONFIG_FLASH_HAS_DRIVER_ENABLED and not CONFIG_TRUSTED_EXECUTION_NONSECURE)
34      and dt_label_with_parent_compat_enabled("storage_partition", "fixed-partitions"))
35    integration_platforms:
36      - qemu_x86
37      - mimxrt1060_evk
38  drivers.flash.common.tfm_ns:
39    build_only: true
40    filter: (CONFIG_FLASH_HAS_DRIVER_ENABLED and CONFIG_TRUSTED_EXECUTION_NONSECURE
41      and dt_label_with_parent_compat_enabled("storage_partition", "fixed-partitions"))
42    integration_platforms:
43      - nrf9161dk_nrf9161_ns
44  drivers.flash.common.stm32:
45    platform_allow:
46      - nucleo_f103rb
47      - nucleo_f207zg
48      - stm32f3_disco
49      - nucleo_f429zi
50      - stm32f746g_disco
51      - nucleo_f767zi
52      - nucleo_g0b1re
53      - nucleo_g474re
54      - nucleo_h743zi
55      - nucleo_l152re
56      - disco_l475_iot1
57      - nucleo_wb55rg
58      - nucleo_wl55jc
59      - stm32l562e_dk
60      - stm32l562e_dk_ns
61    integration_platforms:
62      - nucleo_f103rb
63    filter: (dt_compat_enabled("st,stm32-flash-controller") or
64             dt_compat_enabled("st,stm32h7-flash-controller")) and
65             dt_label_with_parent_compat_enabled("storage_partition", "fixed-partitions")
66  drivers.flash.common.mx25r_high_perf:
67    platform_allow: nrf52840dk_nrf52840
68    extra_args:
69      - OVERLAY_CONFIG=boards/nrf52840dk_flash_spi.conf
70      - DTC_OVERLAY_FILE=boards/nrf52840dk_mx25r_high_perf.overlay
71    integration_platforms:
72      - nrf52840dk_nrf52840
73  drivers.flash.common.mr_canhubk3_sfdp_runtime:
74    platform_allow: mr_canhubk3
75    extra_configs:
76      - CONFIG_FLASH_NXP_S32_QSPI_NOR_SFDP_RUNTIME=y
77  drivers.flash.common.spi_nor:
78    platform_allow: nrf52840dk_nrf52840
79    extra_args:
80      - OVERLAY_CONFIG=boards/nrf52840dk_flash_spi.conf
81      - DTC_OVERLAY_FILE=boards/nrf52840dk_spi_nor.overlay
82    harness_config:
83      fixture: external_flash_mx25v1635f
84  drivers.flash.common.spi_nor_wp_hold:
85    platform_allow: nrf52840dk_nrf52840
86    extra_args:
87      - OVERLAY_CONFIG=boards/nrf52840dk_flash_spi.conf
88      - DTC_OVERLAY_FILE=boards/nrf52840dk_spi_nor_wp_hold.overlay
89    harness_config:
90      fixture: external_flash_mx25v1635f
91  drivers.flash.common.sam0:
92    platform_allow:
93      - atsamd20_xpro
94      - atsamr21_xpro
95      - atsame54_xpro
96  drivers.flash.common.gd32:
97    platform_allow:
98      - gd32vf103v_eval
99      - gd32a503v_eval
100      - gd32f470i_eval
101