1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00

cortexm_common: move the stack to the bottom of RAM

This commit is contained in:
Ian Martin 2016-05-19 15:54:02 -04:00
parent 9693c3cdf5
commit 87e06756a5

View File

@ -101,6 +101,16 @@ SECTIONS
. = ALIGN(4);
_etext = .;
/* stack section */
.stack (NOLOAD):
{
. = ALIGN(8);
_sstack = .;
KEEP (*(.isr_stack))
. = ALIGN(8);
_estack = .;
} > ram
.relocate : AT (_etext)
{
. = ALIGN(4);
@ -124,16 +134,6 @@ SECTIONS
_ezero = .;
} > ram
/* stack section */
.stack (NOLOAD):
{
. = ALIGN(8);
_sstack = .;
KEEP (*(.isr_stack))
. = ALIGN(8);
_estack = .;
} > ram
/* heap section */
. = ALIGN(4);
_sheap = . ;