Skip to content

Commit 9917579

Browse files
Astrrraskotopes
andauthored
Increase system stack's reserved memory size (#4025)
Co-authored-by: あく <alleteam@gmail.com>
1 parent 256c1a1 commit 9917579

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

targets/f7/stm32wb55xx_flash.ld

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ ENTRY(Reset_Handler)
33
/* Highest address of the user mode stack */
44
_stack_end = 0x20030000; /* end of RAM */
55
/* Generate a link error if heap and stack don't fit into RAM */
6-
_stack_size = 0x200; /* required amount of stack */
6+
_stack_size = 0x400; /* required amount of stack */
77

88
MEMORY {
99
FLASH (rx) : ORIGIN = 0x08000000, LENGTH = 1024K

targets/f7/stm32wb55xx_ram_fw.ld

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ ENTRY(Reset_Handler)
33
/* Highest address of the user mode stack */
44
_stack_end = 0x20030000; /* end of RAM */
55
/* Generate a link error if heap and stack don't fit into RAM */
6-
_stack_size = 0x200; /* required amount of stack */
6+
_stack_size = 0x400; /* required amount of stack */
77

88
MEMORY {
99
FLASH (rx) : ORIGIN = 0x08000000, LENGTH = 1024K

0 commit comments

Comments
 (0)