From 12c2d658f36df37f9e7f6f8186247cad0ba2adfd Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Tue, 9 Jun 2020 12:56:18 +0800 Subject: [PATCH] tune heap/stack sizes --- src/runtime/link.x | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/runtime/link.x b/src/runtime/link.x index 60ddc1c5..4f551e18 100644 --- a/src/runtime/link.x +++ b/src/runtime/link.x @@ -45,21 +45,21 @@ SECTIONS .heap (NOLOAD) : ALIGN(8) { __heap_start = .; - . += 0x1000000; + . += 0x8000000; __heap_end = .; } > SDRAM .stack1 (NOLOAD) : ALIGN(8) { __stack1_end = .; - . += 0x1000000; + . += 0x8000000; __stack1_start = .; } > SDRAM .stack0 (NOLOAD) : ALIGN(8) { __stack0_end = .; - . += 0x1000000; + . += 0x10000; __stack0_start = .; } > SDRAM