Skip to content

Commit 7640da9

Browse files
committed
[LPC1549] Fixed initial value of stack pointer
1 parent 7d88efe commit 7640da9

File tree

1 file changed

+3
-2
lines changed
  • libraries/mbed/targets/cmsis/TARGET_NXP/TARGET_LPC15XX/TOOLCHAIN_ARM_MICRO

1 file changed

+3
-2
lines changed

libraries/mbed/targets/cmsis/TARGET_NXP/TARGET_LPC15XX/TOOLCHAIN_ARM_MICRO/startup_LPC15xx.s

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,9 @@
3131
Stack_Size EQU 0x00000200
3232

3333
AREA STACK, NOINIT, READWRITE, ALIGN=3
34-
Stack_Mem SPACE Stack_Size
35-
__initial_sp
34+
EXPORT __initial_sp
35+
36+
__initial_sp EQU 0x02009000 ; Top of RAM from LPC1549
3637

3738

3839
; <h> Heap Configuration

0 commit comments

Comments
 (0)