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 MEMORY
@ -223,9 +223,9 @@ SECTIONS
. += 0x800 - (. - __StackLimit); . += 0x800 - (. - __StackLimit);
} > RAM } > RAM
/* Set stack top to end of RAM, and stack limit move down by /* Set stack top to end of RAM */
* size of stack_dummy section */ __StackTop = ORIGIN(RAM) + LENGTH(RAM);
__StackTop = ADDR(.stack) + SIZEOF(.stack); __StackLimit = __StackTop - SIZEOF(.stack);
__StackLimit = ADDR(.stack);
PROVIDE(__stack = __StackTop); PROVIDE(__stack = __StackTop);
} }