File tree Expand file tree Collapse file tree 2 files changed +26
-0
lines changed
tests/drivers/flash/stm32 Expand file tree Collapse file tree 2 files changed +26
-0
lines changed Original file line number Diff line number Diff line change 1+ /*
2+ * Copyright (c) 2024 SILA Embedded Solutions GmbH
3+ *
4+ * SPDX-License-Identifier: Apache-2.0
5+ */
6+
7+ &flash0 {
8+ partitions {
9+ compatible = "fixed-partitions";
10+ #address-cells = <1>;
11+ #size-cells = <1>;
12+
13+ /* Reserve 4KiB of flash for storage_partition. */
14+ storage_partition: partition@f0000 {
15+ label = "storage";
16+ reg = <0x000f0000 DT_SIZE_K(4)>;
17+ };
18+ };
19+ };
Original file line number Diff line number Diff line change @@ -35,3 +35,10 @@ tests:
3535 - CONFIG_FLASH_STM32_READOUT_PROTECTION=y
3636 filter : dt_compat_enabled("st,stm32g4-flash-controller") and
3737 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")
You can’t perform that action at this time.
0 commit comments