Skip to content

Commit

Permalink
Update ldscript.ld
Browse files Browse the repository at this point in the history
Extend heap and stack
  • Loading branch information
Pmatsol58 committed Dec 1, 2021
1 parent 4395d72 commit 8115655
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions buildroot/share/PlatformIO/variants/MARLIN_F103Rx/ldscript.ld
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,9 @@ ENTRY(Reset_Handler)

/* Highest address of the user mode stack */
_estack = 0x20000000 + LD_MAX_DATA_SIZE; /* end of "RAM" Ram type memory */
_Min_Heap_Size = 0x200; /* required amount of heap */
_Min_Stack_Size = 0x400; /* required amount of stack */
_Min_Heap_Size = 0x800; /* required amount of heap */
_Min_Stack_Size = 0x1200; /* required amount of stack */
LD_FLASH_OFFSET = 0x8000;

/* Memories definition */
MEMORY
Expand Down

0 comments on commit 8115655

Please sign in to comment.