From 36c3fbdacde1e9a22e99acf596129ff2752e36bf Mon Sep 17 00:00:00 2001 From: pca006132 Date: Mon, 3 Aug 2020 14:42:34 +0800 Subject: [PATCH] experiments: fixed linker script. --- experiments/link.x | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/experiments/link.x b/experiments/link.x index 6570f7f..85d9784 100644 --- a/experiments/link.x +++ b/experiments/link.x @@ -44,6 +44,10 @@ SECTIONS __stack0_end = .; . = ORIGIN(OCM) + LENGTH(OCM) - 8; __stack0_start = .; + + /* unused heap0 to prevent the linker from complaining*/ + __heap0_start = .; + __heap0_end = .; } > OCM /DISCARD/ :