aboutsummaryrefslogtreecommitdiffstats
path: root/os/ports/GCC/ARM/LPC214x
diff options
context:
space:
mode:
Diffstat (limited to 'os/ports/GCC/ARM/LPC214x')
-rw-r--r--os/ports/GCC/ARM/LPC214x/ld/LPC2148.ld7
1 files changed, 4 insertions, 3 deletions
diff --git a/os/ports/GCC/ARM/LPC214x/ld/LPC2148.ld b/os/ports/GCC/ARM/LPC214x/ld/LPC2148.ld
index 40683d14e..c94daa808 100644
--- a/os/ports/GCC/ARM/LPC214x/ld/LPC2148.ld
+++ b/os/ports/GCC/ARM/LPC214x/ld/LPC2148.ld
@@ -101,7 +101,8 @@ SECTIONS
}
PROVIDE(end = .);
-_end = .;
+_end = .;
-__heap_base__ = _end;
-__heap_end__ = __ram_end__ - __stacks_total_size__;
+__heap_base__ = _end;
+__heap_end__ = __ram_end__ - __stacks_total_size__;
+__main_thread_stack_base__ = __ram_end__ - __stacks_total_size__;