diff --git a/tests/drivers/flash/common/boards/fk7b0m1_vbt6.overlay b/tests/drivers/flash/common/boards/fk7b0m1_vbt6.overlay new file mode 100644 index 00000000000..6373e977575 --- /dev/null +++ b/tests/drivers/flash/common/boards/fk7b0m1_vbt6.overlay @@ -0,0 +1,20 @@ +/* + * Copyright (c) 2025 STMicroelectronics + * SPDX-License-Identifier: Apache-2.0 + */ + +/delete-node/ &storage_partition; + +&flash0 { + partitions { + compatible = "fixed-partitions"; + #address-cells = <1>; + #size-cells = <1>; + + /* Set last blocks of the code flash as storage partition */ + storage_partition: partition@1e0000 { + label = "storage"; + reg = <0x1e000 DT_SIZE_K(8)>; + }; + }; +}; diff --git a/tests/drivers/flash/common/boards/mini_stm32h7b0.overlay b/tests/drivers/flash/common/boards/mini_stm32h7b0.overlay new file mode 100644 index 00000000000..a9aec960bfa --- /dev/null +++ b/tests/drivers/flash/common/boards/mini_stm32h7b0.overlay @@ -0,0 +1,20 @@ +/* + * Copyright (c) 2025 STMicroelectronics + * SPDX-License-Identifier: Apache-2.0 + */ + +/delete-node/ &storage_partition; + +&flash0 { + partitions { + compatible = "fixed-partitions"; + #address-cells = <1>; + #size-cells = <1>; + + /* Set 2 last blocks of the code flash as storage partition */ + storage_partition: partition@1e000 { + label = "storage"; + reg = <0x1e000 DT_SIZE_K(8)>; + }; + }; +};