Skip to content

Commit 82615a3

Browse files
committed
Added fixed nucleo_f429zi storage partition
1 parent 6a8fd01 commit 82615a3

File tree

3 files changed

+57
-0
lines changed

3 files changed

+57
-0
lines changed
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
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+
};
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
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+
};
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
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+
};

0 commit comments

Comments
 (0)