Skip to content

Commit e6071b4

Browse files
chrtacarlescufi
authored andcommitted
boards: efm32/efr32: Enlarge storage_partition for nvs sample
The nvs sample requires a storage_partition of 3 flash pages, but these boards only provided 2 flash pages. Because of this the nvs sample failed. Signed-off-by: Christian Taedcke <[email protected]>
1 parent c15d27f commit e6071b4

File tree

5 files changed

+19
-19
lines changed

5 files changed

+19
-19
lines changed

boards/arm/efm32pg_stk3402a/efm32pg_stk3402a_common.dtsi

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -121,10 +121,10 @@
121121
#address-cells = <1>;
122122
#size-cells = <1>;
123123

124-
/* Set 4Kb of storage at the end of the 1024Kb of flash */
125-
storage_partition: partition@ff000 {
124+
/* Set 6Kb of storage at the end of the 1024Kb of flash */
125+
storage_partition: partition@fe800 {
126126
label = "storage";
127-
reg = <0x000ff000 0x00001000>;
127+
reg = <0x000fe800 0x00001800>;
128128
};
129129

130130
};

boards/arm/efm32wg_stk3800/efm32wg_stk3800.dts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,10 +90,10 @@
9090
#address-cells = <1>;
9191
#size-cells = <1>;
9292

93-
/* Set 4Kb of storage at the end of the 256Kb of flash */
94-
storage_partition: partition@3f000 {
93+
/* Set 6Kb of storage at the end of the 256Kb of flash */
94+
storage_partition: partition@3e800 {
9595
label = "storage";
96-
reg = <0x0003f000 0x00001000>;
96+
reg = <0x0003e800 0x00001800>;
9797
};
9898

9999
};

boards/arm/efr32_radio/efr32_radio_brd4250b.dts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -43,16 +43,16 @@
4343
reg = <0x0001f800 0x00017800>;
4444
};
4545

46-
/* Reserve 32 kB for the scratch partition */
46+
/* Reserve 30 kB for the scratch partition */
4747
scratch_partition: partition@37000 {
4848
label = "image-scratch";
49-
reg = <0x00037000 0x00008000>;
49+
reg = <0x00037000 0x00007800>;
5050
};
5151

52-
/* Set 4Kb of storage at the end of the 256Kb of flash */
53-
storage_partition: partition@3f000 {
52+
/* Set 6Kb of storage at the end of the 256Kb of flash */
53+
storage_partition: partition@3e800 {
5454
label = "storage";
55-
reg = <0x0003f000 0x00001000>;
55+
reg = <0x0003e800 0x00001800>;
5656
};
5757

5858
};

boards/arm/efr32_slwstk6061a/efr32_slwstk6061a.dts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -155,16 +155,16 @@
155155
reg = <0x0001f800 0x00017800>;
156156
};
157157

158-
/* Reserve 32 kB for the scratch partition */
158+
/* Reserve 30 kB for the scratch partition */
159159
scratch_partition: partition@37000 {
160160
label = "image-scratch";
161-
reg = <0x00037000 0x00008000>;
161+
reg = <0x00037000 0x00007800>;
162162
};
163163

164-
/* Set 4Kb of storage at the end of the 256Kb of flash */
165-
storage_partition: partition@3f000 {
164+
/* Set 6Kb of storage at the end of the 256Kb of flash */
165+
storage_partition: partition@3e800 {
166166
label = "storage";
167-
reg = <0x0003f000 0x00001000>;
167+
reg = <0x0003e800 0x00001800>;
168168
};
169169

170170
};

boards/arm/efr32mg_sltb004a/efr32mg_sltb004a.dts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -154,10 +154,10 @@
154154
#address-cells = <1>;
155155
#size-cells = <1>;
156156

157-
/* Set 4Kb of storage at the end of the 1024Kb of flash */
158-
storage_partition: partition@ff000 {
157+
/* Set 6Kb of storage at the end of the 1024Kb of flash */
158+
storage_partition: partition@fe800 {
159159
label = "storage";
160-
reg = <0x000ff000 0x00001000>;
160+
reg = <0x000fe800 0x00001800>;
161161
};
162162

163163
};

0 commit comments

Comments
 (0)