From f8d5fa9066126abff066978e4cfcff44917fac52 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Wed, 22 Dec 2010 07:14:01 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2520 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/ports/IAR/ARMCMx/cstartup.s | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'os') 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 -- cgit v1.2.3