Skip to content

Commit 805b8ea

Browse files
erwangocfriedt
authored andcommitted
boards: nucleo_wb55rg: Give more flash space to M0 binary
Since version 1.11.0, Full stack M0 binary requires 216K of flash being available, while previously 212K were required. Review flash partitioning to take it into account. Additionally: - update value in board yaml file. - align value in package .dtsi file Fixes #38735 Signed-off-by: Erwan Gouriou <[email protected]>
1 parent e59f375 commit 805b8ea

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

boards/arm/nucleo_wb55rg/nucleo_wb55rg.dts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -189,9 +189,9 @@ zephyr_udc0: &usb {
189189
#address-cells = <1>;
190190
#size-cells = <1>;
191191

192-
/* Set all partitions with first 812K of flash */
193-
/* last 212K are reseved for M0 usage */
194-
/* Configure partitions to make use of the whole 812K */
192+
/* Set all partitions with first 808K of flash */
193+
/* last 216K are reseved for M0 usage */
194+
/* Configure partitions to make use of the whole 808K */
195195

196196
boot_partition: partition@0 {
197197
label = "mcuboot";
@@ -211,7 +211,7 @@ zephyr_udc0: &usb {
211211
};
212212
storage_partition: partition@c8000 {
213213
label = "storage";
214-
reg = <0x000c8000 0x3000>;
214+
reg = <0x000c8000 0x2000>;
215215
};
216216

217217
};

dts/arm/st/wb/stm32wb55Xg.dtsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
soc {
1515
flash-controller@58004000 {
1616
flash0: flash@8000000 {
17-
reg = <0x08000000 DT_SIZE_K(812)>;
17+
reg = <0x08000000 DT_SIZE_K(808)>;
1818
};
1919
};
2020
};

0 commit comments

Comments
 (0)