1common:
2  tags:
3    - drivers
4    - flash
5tests:
6  drivers.flash.stm32.f4:
7    platform_allow:
8      - nucleo_f429zi
9      - google_dragonclaw
10    extra_configs:
11      - CONFIG_FLASH_STM32_WRITE_PROTECT=y
12      - CONFIG_FLASH_STM32_READOUT_PROTECTION=y
13    filter: dt_compat_enabled("st,stm32f4-flash-controller") and
14            dt_label_with_parent_compat_enabled("storage_partition", "fixed-partitions")
15  drivers.flash.stm32.f4.block_registers:
16    platform_allow:
17      - nucleo_f429zi
18      - google_dragonclaw
19    extra_configs:
20      - CONFIG_FLASH_STM32_BLOCK_REGISTERS=y
21    filter: dt_compat_enabled("st,stm32f4-flash-controller") and
22            dt_label_with_parent_compat_enabled("storage_partition", "fixed-partitions")
23  drivers.flash.stm32.l4:
24    platform_allow:
25      - nucleo_l452re/stm32l452xx/p
26      - disco_l475_iot1
27    extra_configs:
28      - CONFIG_FLASH_STM32_READOUT_PROTECTION=y
29    filter: dt_compat_enabled("st,stm32l4-flash-controller") and
30            dt_label_with_parent_compat_enabled("storage_partition", "fixed-partitions")
31  drivers.flash.stm32.g4:
32    platform_allow:
33      - nucleo_g474re
34    extra_configs:
35      - CONFIG_FLASH_STM32_READOUT_PROTECTION=y
36    filter: dt_compat_enabled("st,stm32g4-flash-controller") and
37      dt_label_with_parent_compat_enabled("storage_partition", "fixed-partitions")
38  drivers.flash.stm32.f7:
39    platform_allow:
40      - nucleo_f746zg
41    extra_configs:
42      - CONFIG_FLASH_STM32_READOUT_PROTECTION=y
43    filter: dt_compat_enabled("st,stm32f7-flash-controller") and
44      dt_label_with_parent_compat_enabled("storage_partition", "fixed-partitions")
45  drivers.flash.stm32.h7:
46    platform_allow:
47      - stm32h735g_disco
48      - stm32h750b_dk
49      - stm32h745i_disco/stm32h745xx/m7
50    extra_configs:
51      - CONFIG_FLASH_STM32_READOUT_PROTECTION=y
52    filter: dt_compat_enabled("st,stm32h7-flash-controller") and
53      dt_label_with_parent_compat_enabled("storage_partition", "fixed-partitions")
54