Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 33e52f9

Browse files
variants/arduino_portenta_h7_stm32h747xx_m7: Update board config.
- Increase heap size. - Fix flash partitions. Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
1 parent 658a690 commit 33e52f9

File tree

2 files changed

+18
-1
lines changed

2 files changed

+18
-1
lines changed

‎variants/arduino_portenta_h7_stm32h747xx_m7/arduino_portenta_h7_stm32h747xx_m7.conf‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ CONFIG_CDC_ACM_DTE_RATE_CALLBACK_SUPPORT=y
1212
CONFIG_LLEXT_STORAGE_WRITABLE=n
1313

1414
CONFIG_SHARED_MULTI_HEAP=y
15-
CONFIG_HEAP_MEM_POOL_SIZE=2048
15+
CONFIG_HEAP_MEM_POOL_SIZE=65536
1616

1717
CONFIG_FPU=y
1818
CONFIG_ICACHE=y

‎variants/arduino_portenta_h7_stm32h747xx_m7/arduino_portenta_h7_stm32h747xx_m7.overlay‎

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -264,6 +264,7 @@
264264
soc {
265265
flash-controller@52002000 {
266266
flash0: flash@8000000 {
267+
/delete-node/ partitions;
267268
compatible = "st,stm32-nv-flash", "soc-nv-flash";
268269
write-block-size = <32>;
269270
erase-block-size = <DT_SIZE_K(128)>;
@@ -278,6 +279,22 @@
278279
#address-cells = <1>;
279280
#size-cells = <1>;
280281

282+
boot_partition: partition@0 {
283+
label = "mcuboot";
284+
reg = <0x00000000 0x00020000>;
285+
read-only;
286+
};
287+
288+
scratch_partition: partition@20000 {
289+
label = "image-scratch";
290+
reg = <0x00020000 0x00020000>;
291+
};
292+
293+
slot0_partition: partition@40000 {
294+
label = "image-0";
295+
reg = <0x00040000 0x000C0000>;
296+
};
297+
281298
user_sketch: partition@e0000 {
282299
reg = <0x0E0000 0x20000>;
283300
};

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /