tune heap/stack sizes

This commit is contained in:
Sebastien Bourdeauducq 2020-06-09 12:56:18 +08:00
parent 4d03ecc187
commit 12c2d658f3

View File

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