diff options
Diffstat (limited to 'os/ports')
-rw-r--r-- | os/ports/IAR/ARMCMx/cstartup.s | 6 |
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
|