AnsweredAssumed Answered

STM32CubeMX GCC Linker BUG for STM32L151RCTx

Question asked by hosken.david on Jul 11, 2015
Latest reply on Jul 17, 2015 by STM32Cube-T
Hi, been using STM32CubeMX for creating code for "System Workbench for STM32". The linker file created by STM32CubeMX has 0 for heap and stack:

_Min_Heap_Size = 0;      /* required amount of heap  */
_Min_Stack_Size = 0; /* required amount of stack */

I am using latest V1.2.0. The chip is STM32L151RCTx. If I look at the linker files in the "../Templates/gcc/linker" folder of STM32CubeMX, they all have 0x200 heap size and 0x400 stack size. Not sure why the linker file in created code has 0. Think it should be 0x200 and 0x400 for linker file of created code too.



Outcomes