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 8f1380e commit 7acbc1dCopy full SHA for 7acbc1d
memory.x
@@ -2,8 +2,11 @@ MEMORY
2
{
3
/* NOTE K = KiBi = 1024 bytes */
4
FLASH : ORIGIN = 0x08000000, LENGTH = 16K
5
- RAM : ORIGIN = 0x20000000, LENGTH = 2K
+ RAM : ORIGIN = 0x20000000, LENGTH = 4K
6
}
7
8
-/* We have 4K RAM, and only let the linker see 2K, so we have 2K reserved for stack. */
9
-_stack_start = ORIGIN(RAM) + 4K;
+/* This is where the call stack will be allocated. */
+/* The stack is of the full descending type. */
10
+/* NOTE Do NOT modify `_stack_start` unless you know what you are doing */
11
+_stack_start = ORIGIN(RAM) + LENGTH(RAM);
12
+
0 commit comments