Skip to content

Commit 7360771

Browse files
stevew817adbridge
authored andcommitted
Set up the ISR stack pointer in the right location on ARMCC
EFR32MG1, EFR32MG12 and EFM32PG12 didn't have a fixed ARMCC linker script yet.
1 parent 957e1ce commit 7360771

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

targets/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG12/device/TOOLCHAIN_ARM_STD/startup_efm32pg12b.S

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ Stack_Size EQU 0x00001000
3636

3737
AREA STACK, NOINIT, READWRITE, ALIGN=3
3838
Stack_Mem SPACE Stack_Size
39-
__initial_sp
39+
__initial_sp EQU 0x20040000
4040

4141

4242
; <h> Heap Configuration

targets/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFR32MG1/device/TOOLCHAIN_ARM_STD/startup_efr32mg1p.S

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

3434
AREA STACK, NOINIT, READWRITE, ALIGN=3
3535
Stack_Mem SPACE Stack_Size
36-
__initial_sp
36+
__initial_sp EQU 0x20008000
3737

3838

3939
; <h> Heap Configuration

targets/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFR32MG12/device/TOOLCHAIN_ARM_STD/startup_efr32mg12p.S

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Stack_Size EQU 0x00004000
3333

3434
AREA STACK, NOINIT, READWRITE, ALIGN=3
3535
Stack_Mem SPACE Stack_Size
36-
__initial_sp
36+
__initial_sp EQU 0x20040000
3737

3838

3939
; <h> Heap Configuration

0 commit comments

Comments
 (0)