heap and stack test

pull/2531/head
Radhika 2016-08-24 11:22:44 +05:30
parent b75379f353
commit f5f8deb7ef
1 changed files with 5 additions and 5 deletions

View File

@ -1,5 +1,5 @@
/*
* K64F ARM GCC linker script file
* NCS36510 ARM GCC linker script file
*/
MEMORY
@ -223,9 +223,9 @@ SECTIONS
. += 0x800 - (. - __StackLimit);
} > RAM
/* Set stack top to end of RAM, and stack limit move down by
* size of stack_dummy section */
__StackTop = ADDR(.stack) + SIZEOF(.stack);
__StackLimit = ADDR(.stack);
/* Set stack top to end of RAM */
__StackTop = ORIGIN(RAM) + LENGTH(RAM);
__StackLimit = __StackTop - SIZEOF(.stack);
PROVIDE(__stack = __StackTop);
}