File tree Expand file tree Collapse file tree 3 files changed +57
-0
lines changed Expand file tree Collapse file tree 3 files changed +57
-0
lines changed Original file line number Diff line number Diff line change 1+ /*
2+ * Copyright (c) 2022 STMicroelectronics
3+ *
4+ * SPDX-License-Identifier: Apache-2.0
5+ */
6+
7+ /delete-node/ &storage_partition;
8+
9+ &flash0 {
10+ partitions {
11+ /* Set 48KB of storage at the beginning of bank2 in order to have 3 sectors smaller than 32K
12+ * (nvs.h: uint16_t sector_size)
13+ */
14+ storage_partition: partition@100000 {
15+ label = "storage";
16+ reg = <0x000100000 DT_SIZE_K(48)>;
17+ };
18+ };
19+ };
Original file line number Diff line number Diff line change 1+ /*
2+ * Copyright (c) 2022 STMicroelectronics
3+ *
4+ * SPDX-License-Identifier: Apache-2.0
5+ */
6+
7+ /delete-node/ &storage_partition;
8+
9+ &flash0 {
10+ partitions {
11+ /* Set 48KB of storage at the beginning of bank2 in order to have 3 sectors smaller than 32K
12+ * (nvs.h: uint16_t sector_size)
13+ */
14+ storage_partition: partition@100000 {
15+ label = "storage";
16+ reg = <0x000100000 DT_SIZE_K(48)>;
17+ };
18+ };
19+ };
Original file line number Diff line number Diff line change 1+ /*
2+ * Copyright (c) 2022 STMicroelectronics
3+ *
4+ * SPDX-License-Identifier: Apache-2.0
5+ */
6+
7+ /delete-node/ &storage_partition;
8+
9+ &flash0 {
10+ partitions {
11+ /* Set 48KB of storage at the beginning of bank2 in order to have 3 sectors smaller than 32K
12+ * (nvs.h: uint16_t sector_size)
13+ */
14+ storage_partition: partition@100000 {
15+ label = "storage";
16+ reg = <0x000100000 DT_SIZE_K(48)>;
17+ };
18+ };
19+ };
You can’t perform that action at this time.
0 commit comments