Skip to content

Commit b00d833

Browse files
committed
[STM32F303RE] Fix initial SP on ARM and uARM
Switch initial stack pointer from 0x2000 4000 to 0x2001 0000 (top of ram)
1 parent 4b50628 commit b00d833

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303RE/TOOLCHAIN_ARM_MICRO/startup_stm32f303xe.S

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ Stack_Size EQU 0x00000400
5151
EXPORT __initial_sp
5252
5353
Stack_Mem SPACE Stack_Size
54-
__initial_sp EQU 0x20004000 ; Top of RAM
54+
__initial_sp EQU 0x20010000 ; Top of RAM
5555

5656

5757
; <h> Heap Configuration

hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303RE/TOOLCHAIN_ARM_STD/startup_stm32f303xe.S

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
;
4040
;*******************************************************************************
4141

42-
__initial_sp EQU 0x20004000 ; Top of RAM
42+
__initial_sp EQU 0x20010000 ; Top of RAM
4343

4444
PRESERVE8
4545
THUMB

0 commit comments

Comments
 (0)