Skip to content

Commit 1c18076

Browse files
explora26aescolar
authored andcommitted
boards: weact: mini_stm32h743: Fix flash size and partition size
Ensured flash size and partition size are specified in bytes as required by the STM32 QSPI NOR driver. Signed-off-by: Harry Jiang <[email protected]>
1 parent 8023a58 commit 1c18076

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

boards/weact/mini_stm32h743/mini_stm32h743.dts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ zephyr_udc0: &usbotg_fs {
148148

149149
w25q64_qspi: qspi-nor-flash@90000000 {
150150
compatible = "st,stm32-qspi-nor";
151-
reg = <0x90000000 DT_SIZE_M(64)>; /* 64 Mbits */
151+
reg = <0x90000000 DT_SIZE_M(8)>; /* 64 Mbits */
152152
qspi-max-frequency = <40000000>;
153153
status = "okay";
154154
spi-bus-width = <4>;
@@ -159,7 +159,7 @@ zephyr_udc0: &usbotg_fs {
159159
#address-cells = <1>;
160160
#size-cells = <1>;
161161
slot0_partition: partition@0 {
162-
reg = <0x00000000 DT_SIZE_M(64)>;
162+
reg = <0x00000000 DT_SIZE_M(8)>;
163163
};
164164
};
165165
};
@@ -186,7 +186,7 @@ zephyr_udc0: &usbotg_fs {
186186
#size-cells = <1>;
187187
storage_partition: partition@0 {
188188
label = "storage";
189-
reg = <0x00000000 DT_SIZE_M(64)>;
189+
reg = <0x00000000 DT_SIZE_M(8)>;
190190
};
191191
};
192192
};

0 commit comments

Comments
 (0)