runtime: adjust stack and heap sizes

This commit is contained in:
Sebastien Bourdeauducq 2020-07-06 20:48:09 +08:00
parent 7661b2a288
commit 8c0b7cdcf2

View File

@ -59,21 +59,21 @@ SECTIONS
.heap (NOLOAD) : ALIGN(8) .heap (NOLOAD) : ALIGN(8)
{ {
__heap_start = .; __heap_start = .;
. += 0x8000000; . += 0x1000000;
__heap_end = .; __heap_end = .;
} > SDRAM } > SDRAM
.stack1 (NOLOAD) : ALIGN(8) .stack1 (NOLOAD) : ALIGN(8)
{ {
__stack1_end = .; __stack1_end = .;
. += 0x8000000; . += 0x1000000;
__stack1_start = .; __stack1_start = .;
} > SDRAM } > SDRAM
.stack0 (NOLOAD) : ALIGN(8) .stack0 (NOLOAD) : ALIGN(8)
{ {
__stack0_end = .; __stack0_end = .;
. += 0x10000; . += 0x20000;
__stack0_start = .; __stack0_start = .;
} > SDRAM } > SDRAM
} }