We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 439e01c commit a1367f6Copy full SHA for a1367f6
rust/mlogv32/link.x
@@ -12,8 +12,8 @@ MEMORY {
12
0x3000000 = 128*24 * 4096*4
13
0x1000000 = 128*8 * 4096*4
14
*/
15
- rom (rx) : ORIGIN = 0, LENGTH = 0x1000000
16
- ram (rw) : ORIGIN = 0x1000000, LENGTH = 0x3000000
+ rom (rx) : ORIGIN = 0, LENGTH = 0x200000
+ ram (rw) : ORIGIN = 0x200000, LENGTH = 0x200000
17
}
18
19
REGION_ALIAS("REGION_TEXT", rom);
@@ -24,7 +24,7 @@ REGION_ALIAS("REGION_HEAP", ram);
24
REGION_ALIAS("REGION_STACK", ram);
25
26
PROVIDE(_stack_start = ORIGIN(REGION_STACK) + LENGTH(REGION_STACK));
27
-PROVIDE(_stack_size = 8M);
+PROVIDE(_stack_size = 4K);
28
29
/* users can optionally enable the heap by adding another linker script to override this value */
30
PROVIDE(_heap_size = 0);
0 commit comments