Skip to content

Commit 02ca3ec

Browse files
committed
chore: ensure linker script compatibility
Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
1 parent 3d080ee commit 02ca3ec

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

‎libraries/SrcWrapper/inc/stm32_def.h‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,10 @@
7777
#if defined(USE_HALV2_DRIVER)
7878
#include "stm32_hal.h"
7979

80+
#define _Min_Heap_Size HEAP_SIZE
81+
#define _Min_Stack_Size STACK_SIZE
82+
#define _end end
83+
8084
/* Define to avoid any backward compatibility issues */
8185
/* but prefer avoid using it, use (void)variable instead */
8286
#ifndef UNUSED

0 commit comments

Comments
 (0)