aboutsummaryrefslogtreecommitdiffstats
path: root/os/common/startup/ARM/compilers
diff options
context:
space:
mode:
Diffstat (limited to 'os/common/startup/ARM/compilers')
-rw-r--r--os/common/startup/ARM/compilers/GCC/mk/startup_lpc214x.mk10
-rw-r--r--os/common/startup/ARM/compilers/GCC/rules.ld1
2 files changed, 6 insertions, 5 deletions
diff --git a/os/common/startup/ARM/compilers/GCC/mk/startup_lpc214x.mk b/os/common/startup/ARM/compilers/GCC/mk/startup_lpc214x.mk
index 4f1af1875..baf301a34 100644
--- a/os/common/startup/ARM/compilers/GCC/mk/startup_lpc214x.mk
+++ b/os/common/startup/ARM/compilers/GCC/mk/startup_lpc214x.mk
@@ -1,9 +1,9 @@
# List of the ChibiOS generic LPC214x file.
-STARTUPSRC = $(CHIBIOS)/os/common/ports/ARM/compilers/GCC/crt1.c
+STARTUPSRC = $(CHIBIOS)/os/common/startup/ARM/compilers/GCC/crt1.c
-STARTUPASM = $(CHIBIOS)/os/common/ports/ARM/compilers/GCC/vectors.s \
- $(CHIBIOS)/os/common/ports/ARM/compilers/GCC/crt0.s
+STARTUPASM = $(CHIBIOS)/os/common/startup/ARM/compilers/GCC/vectors.s \
+ $(CHIBIOS)/os/common/startup/ARM/compilers/GCC/crt0.s
-STARTUPINC = ${CHIBIOS}/os/common/ports/ARM/devices/LPC214x
+STARTUPINC = ${CHIBIOS}/os/common/startup/ARM/devices/LPC214x
-STARTUPLD = ${CHIBIOS}/os/common/ports/ARM/compilers/GCC/ld
+STARTUPLD = ${CHIBIOS}/os/common/startup/ARM/compilers/GCC/ld
diff --git a/os/common/startup/ARM/compilers/GCC/rules.ld b/os/common/startup/ARM/compilers/GCC/rules.ld
index 6bda5170c..82d1c3270 100644
--- a/os/common/startup/ARM/compilers/GCC/rules.ld
+++ b/os/common/startup/ARM/compilers/GCC/rules.ld
@@ -117,6 +117,7 @@ SECTIONS
{
. = ALIGN(8);
__stacks_base__ = .;
+ __main_thread_stack_base__ = .;
. += __stacks_total_size__;
. = ALIGN(8);
__stacks_end__ = .;