cancel
Showing results for 
Search instead for 
Did you mean: 

STM32CubeMX GCC Linker BUG for STM32L151RCTx

daviddavid9
Associate II
Posted on July 11, 2015 at 05:06

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.

#stm32cubemx-stm32l1-linker
2 REPLIES 2
stm32cube-t
Senior III
Posted on July 17, 2015 at 16:34

You are correct. The bug has been raised to be fixed in next MX release.

Best regards

stm32cube-t
Senior III
Posted on December 01, 2015 at 12:38

Dear user,

Please note this issue is now solved.