aboutsummaryrefslogtreecommitdiffstats
path: root/os
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2010-12-22 07:14:01 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2010-12-22 07:14:01 +0000
commitf8d5fa9066126abff066978e4cfcff44917fac52 (patch)
treee233680cb5005e494ee46be39ce4072029402350 /os
parent7ea532c6041bbd6012166aefd8f3aa01368a92fb (diff)
downloadChibiOS-f8d5fa9066126abff066978e4cfcff44917fac52.tar.gz
ChibiOS-f8d5fa9066126abff066978e4cfcff44917fac52.tar.bz2
ChibiOS-f8d5fa9066126abff066978e4cfcff44917fac52.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2520 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os')
-rw-r--r--os/ports/IAR/ARMCMx/cstartup.s6
1 files changed, 5 insertions, 1 deletions
diff --git a/os/ports/IAR/ARMCMx/cstartup.s b/os/ports/IAR/ARMCMx/cstartup.s
index 94b11847d..4f60492ce 100644
--- a/os/ports/IAR/ARMCMx/cstartup.s
+++ b/os/ports/IAR/ARMCMx/cstartup.s
@@ -37,6 +37,7 @@ CONTROL_USE_PSP SET 2
EXTERN __cmain
SECTION .text:CODE:REORDER(2)
+ REQUIRE __vector_table
THUMB
__iar_program_start:
cpsid i
@@ -54,6 +55,9 @@ __iar_program_start:
__early_init:
bx lr
- REQUIRE __vector_table
+ SECTION SYSHEAP:DATA:NOROOT(3)
+ PUBLIC __heap_base__
+__heap_base__:
+ DS32 2
END