We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dd42985 commit cd2a4e2Copy full SHA for cd2a4e2
hal/targets/cmsis/TARGET_ONSEMI/TARGET_NCS36510/TOOLCHAIN_GCC_ARM/NCS36510.ld
@@ -1,5 +1,5 @@
1
/*
2
- * K64F ARM GCC linker script file
+ * NCS36510 ARM GCC linker script file
3
*/
4
5
MEMORY
@@ -223,9 +223,9 @@ SECTIONS
223
. += 0x800 - (. - __StackLimit);
224
} > RAM
225
226
- /* Set stack top to end of RAM, and stack limit move down by
227
- * size of stack_dummy section */
228
- __StackTop = ADDR(.stack) + SIZEOF(.stack);
229
- __StackLimit = ADDR(.stack);
+ /* Set stack top to end of RAM */
+ __StackTop = ORIGIN(RAM) + LENGTH(RAM);
+ __StackLimit = __StackTop - SIZEOF(.stack);
230
PROVIDE(__stack = __StackTop);
+
231
}
0 commit comments