mbed library sources modified for open wear
Dependents: openwear-lifelogger-example
Fork of mbed-src by
Diff: targets/cmsis/TARGET_NXP/TARGET_LPC43XX/TOOLCHAIN_ARM_STD/startup_LPC43xx.s
- Revision:
- 256:76fd9a263045
- Parent:
- 20:4263a77256ae
diff -r 20b371a9491b -r 76fd9a263045 targets/cmsis/TARGET_NXP/TARGET_LPC43XX/TOOLCHAIN_ARM_STD/startup_LPC43xx.s --- a/targets/cmsis/TARGET_NXP/TARGET_LPC43XX/TOOLCHAIN_ARM_STD/startup_LPC43xx.s Fri Jul 11 10:00:08 2014 +0100 +++ b/targets/cmsis/TARGET_NXP/TARGET_LPC43XX/TOOLCHAIN_ARM_STD/startup_LPC43xx.s Tue Jul 15 07:45:08 2014 +0100 @@ -29,7 +29,8 @@ ; * this code. ; */ -__initial_sp EQU 0x10020000 ; Top of first RAM segment for LPC43XX +; __initial_sp EQU 0x10020000 ; Top of first RAM segment for LPC43XX (IRAM1) +__initial_sp EQU 0x10092000 ; Top of first RAM segment for LPC43XX (IRAM2) PRESERVE8 THUMB @@ -121,19 +122,21 @@ AREA |.text|, CODE, READONLY + ; Reset Handler Reset_Handler PROC EXPORT Reset_Handler [WEAK] + IMPORT SystemInit IMPORT __main - IMPORT SystemInit - LDR R0, =SystemInit - BLX R0 + LDR R0, =SystemInit + BLX R0 LDR R0, =__main BX R0 ENDP -; Dummy Exception Handlers (infinite loops which can be modified) + +; Dummy Exception Handlers (infinite loops which can be modified) NMI_Handler PROC EXPORT NMI_Handler [WEAK]