1common:
2  tags:
3    - drivers
4    - flash
5tests:
6  drivers.flash.common.nrf_qspi_nor:
7    platform_allow: nrf52840dk/nrf52840
8    extra_args: EXTRA_CONF_FILE=boards/nrf52840dk_nrf52840_qspi_nor.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      - EXTRA_CONF_FILE=boards/nrf52840dk_nrf52840_qspi_nor.conf
15      - DTC_OVERLAY_FILE=boards/nrf52840_size_in_bytes.overlay
16    extra_configs:
17      - CONFIG_TEST_DRIVER_FLASH_SIZE=8388608
18    integration_platforms:
19      - nrf52840dk/nrf52840
20  drivers.flash.common.nrf_qspi_nor_4B_addr:
21    platform_allow: nrf52840dk/nrf52840
22    extra_configs:
23      - CONFIG_TEST_DRIVER_FLASH_SIZE=67108864
24    extra_args:
25      - EXTRA_CONF_FILE=boards/nrf52840dk_nrf52840_qspi_nor.conf
26      - DTC_OVERLAY_FILE=boards/nrf52840dk_mx25l51245g.overlay
27    harness_config:
28      fixture: external_flash_mx25l51245g
29    integration_platforms:
30      - nrf52840dk/nrf52840
31  drivers.flash.common.soc_flash_nrf:
32    platform_allow: nrf52840dk/nrf52840
33    extra_args: EXTRA_CONF_FILE=boards/nrf52840dk_nrf52840_soc.conf
34    integration_platforms:
35      - nrf52840dk/nrf52840
36  drivers.flash.common.default:
37    filter: ((CONFIG_FLASH_HAS_DRIVER_ENABLED and not CONFIG_TRUSTED_EXECUTION_NONSECURE)
38      and (dt_label_with_parent_compat_enabled("storage_partition", "fixed-partitions")
39      or dt_label_with_parent_compat_enabled("storage_partition", "nordic,owned-partitions")))
40    integration_platforms:
41      - qemu_x86
42      - mimxrt1060_evk/mimxrt1062/qspi
43  drivers.flash.common.no_explicit_erase:
44    platform_allow:
45      - nrf54l15dk/nrf54l05/cpuapp
46      - nrf54l15dk/nrf54l10/cpuapp
47      - nrf54l15dk/nrf54l15/cpuapp
48      - nrf54h20dk/nrf54h20/cpuapp
49  drivers.flash.common.tfm_ns:
50    build_only: true
51    filter: (CONFIG_FLASH_HAS_DRIVER_ENABLED and CONFIG_TRUSTED_EXECUTION_NONSECURE
52      and dt_label_with_parent_compat_enabled("storage_partition", "fixed-partitions"))
53    integration_platforms:
54      - nrf9161dk/nrf9161/ns
55  drivers.flash.common.mx25r_high_perf:
56    platform_allow: nrf52840dk/nrf52840
57    extra_configs:
58      - CONFIG_TEST_DRIVER_FLASH_SIZE=8388608
59    extra_args:
60      - EXTRA_CONF_FILE=boards/nrf52840dk_flash_spi.conf
61      - DTC_OVERLAY_FILE=boards/nrf52840dk_mx25r_high_perf.overlay
62    integration_platforms:
63      - nrf52840dk/nrf52840
64  drivers.flash.common.mr_canhubk3_sfdp_runtime:
65    platform_allow: mr_canhubk3
66    extra_configs:
67      - CONFIG_FLASH_NXP_S32_QSPI_NOR_SFDP_RUNTIME=y
68  drivers.flash.common.spi_nor:
69    platform_allow: nrf52840dk/nrf52840
70    extra_configs:
71      - CONFIG_TEST_DRIVER_FLASH_SIZE=2097152
72    extra_args:
73      - EXTRA_CONF_FILE=boards/nrf52840dk_flash_spi.conf
74      - DTC_OVERLAY_FILE=boards/nrf52840dk_spi_nor.overlay
75    harness_config:
76      fixture: external_flash_mx25v1635f
77  drivers.flash.common.spi_nor_wp_hold:
78    platform_allow: nrf52840dk/nrf52840
79    extra_configs:
80      - CONFIG_TEST_DRIVER_FLASH_SIZE=2097152
81    extra_args:
82      - EXTRA_CONF_FILE=boards/nrf52840dk_flash_spi.conf
83      - DTC_OVERLAY_FILE=boards/nrf52840dk_spi_nor_wp_hold.overlay
84    harness_config:
85      fixture: external_flash_mx25v1635f
86  drivers.flash.common.sam0:
87    platform_allow:
88      - samd20_xpro
89      - samr21_xpro
90      - same54_xpro
91  drivers.flash.common.gd32:
92    platform_allow:
93      - gd32vf103v_eval
94      - gd32a503v_eval
95      - gd32f470i_eval
96