Skip to main content
daviddavid9
Associate II
Jul 11, 2015 3:06 AM UTC
Question

STM32CubeMX GCC Linker BUG for STM32L151RCTx

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
This topic has been closed for replies.

2 replies

stm32cube-t
ST Employee
Jul 17, 2015 2:34 PM UTC
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
ST Employee
Dec 1, 2015 11:38 AM UTC
Posted on December 01, 2015 at 12:38

Dear user,

Please note this issue is now solved.