mirror of https://github.com/ARMmbed/mbed-os.git
Merge pull request #8978 from JojoS62/fix-LPC1549-stack_top-linkerfile
fixed wrong __StackTop calculationpull/9101/head
commit
49103d8b0c
|
|
@ -145,7 +145,7 @@ SECTIONS
|
|||
|
||||
/* Set stack top to end of RAM, and stack limit move down by
|
||||
* size of stack_dummy section */
|
||||
__StackTop = ORIGIN(Ram0_16) + LENGTH(Ram0_16);
|
||||
__StackTop = ORIGIN(Ram0_16) + LENGTH(Ram0_16) + LENGTH(Ram1_16) + LENGTH(Ram2_4);
|
||||
__StackLimit = __StackTop - SIZEOF(.stack_dummy);
|
||||
PROVIDE(__stack = __StackTop);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue