From 26eabc0db1e61d941bd60193c4c3705b8ff383c4 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Mon, 8 Aug 2011 10:01:14 +0000 Subject: Centralyzed ARM scatter files too, new stack checking implemented in ARM port. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3210 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/ports/GCC/ARM/LPC214x/ld/LPC2148.ld | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'os/ports/GCC/ARM/LPC214x') 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__; -- cgit v1.2.3