Skip to content

Commit ff34c5b

Browse files
authored
Merge pull request #2354 from svastm/ram_fix_f303re
[STM32F303RE] Fix initial SP on ARM and uARM
2 parents 1935114 + b00d833 commit ff34c5b

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)