Skip to main content
MikeDB
Senior II
June 7, 2019
Question

STMCubeIDE Defaults

  • June 7, 2019
  • 2 replies
  • 1064 views

In the new project setup, the default minimum heap and minimum stack size are set to 0x200 and 0x400, but despite being in black they seem to be non-editable. For a large processor these numbers are far too small, especially the stack.

And yes I know I can edit the Linker file, as I have done, but really this parameter should be editable on the generation screen, and the default processor range specific. I would suggest stack of at least 0x1000 for a H7 or F7.

This topic has been closed for replies.

2 replies

MikeDB
MikeDBAuthor
Senior II
June 10, 2019

Bumping this back up in the hope an STM person will reply

Markus GIRDLAND
ST Employee
June 19, 2019

I can edit those fields and the correct linker script gets generated:

0690X000008iv4YQAQ.png

Is it non-editable for you in every project? I created one for a NUCLEO-H745ZI-Q and STM32H743I-EVAL and they both seem fine.

I did notice that I had to keep the mouse inside the text box in order to edit them, though. Perhaps that is what's causing it?

MikeDB
MikeDBAuthor
Senior II
June 19, 2019
Ok – yes you need to keep the mouse inside but also turn off Windows screen magnification for those with poor eyesight. It works then and I can then turn magnification back on.
Thanks