Skip to content

Commit a1e1d9b

Browse files
committed
chore(wba): declare _sstack in linker script
Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
1 parent 576045e commit a1e1d9b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

variants/STM32WBAxx/WBA55C(E-G)U/ldscript.ld

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ _estack = ORIGIN(RAM) + LENGTH(RAM); /* end of "RAM" Ram type memory */
4040

4141
_Min_Heap_Size = 0x200; /* required amount of heap */
4242
_Min_Stack_Size = 0x400; /* required amount of stack */
43+
_sstack = _estack - _Min_Stack_Size;
4344

4445
/* Memories definition */
4546
MEMORY

0 commit comments

Comments
 (0)