Skip to content

Commit f6c9c8d

Browse files
author
Bogdan Marinescu
committed
Fixed initial SP value
1 parent 1c6bfd1 commit f6c9c8d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

libraries/mbed/targets/cmsis/TARGET_STM/TARGET_NUCLEO_F103RB/TOOLCHAIN_ARM_MICRO/startup_stm32f10x_md.s

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Stack_Size EQU 0x00000400
3737

3838
Stack_Mem SPACE Stack_Size
3939

40-
__initial_sp EQU 0x20000000 ; Top of RAM
40+
__initial_sp EQU 0x20005000 ; Top of RAM
4141

4242

4343
; <h> Heap Configuration

libraries/mbed/targets/cmsis/TARGET_STM/TARGET_NUCLEO_F103RB/TOOLCHAIN_ARM_STD/startup_stm32f10x_md.s

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Stack_Size EQU 0x00000400
3434

3535
AREA STACK, NOINIT, READWRITE, ALIGN=3
3636
Stack_Mem SPACE Stack_Size
37-
__initial_sp
37+
__initial_sp EQU 0x20005000
3838

3939

4040
; <h> Heap Configuration

0 commit comments

Comments
 (0)