Skip to content

Commit 155a897

Browse files
committed
reduce stack size on Zero because of limited RAM
1 parent 9c79869 commit 155a897

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

libraries/mbed/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/TOOLCHAIN_ARM_MICRO/startup_efm32zg.s

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
; <o> Stack Size (in Bytes) <0x0-0xFFFFFFFF:8>
3030
; </h>
3131

32-
Stack_Size EQU 0x00000400
32+
Stack_Size EQU 0x00000200
3333

3434
AREA STACK, NOINIT, READWRITE, ALIGN=3
3535
Stack_Mem SPACE Stack_Size

libraries/mbed/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/TOOLCHAIN_GCC_ARM/startup_efm32zg.S

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
#ifdef __STACK_SIZE
3838
.equ Stack_Size, __STACK_SIZE
3939
#else
40-
.equ Stack_Size, 0x400
40+
.equ Stack_Size, 0x200
4141
#endif
4242
.globl __StackTop
4343
.globl __StackLimit

0 commit comments

Comments
 (0)