cancel
Showing results for 
Search instead for 
Did you mean: 

Minimum Heap Size has no effect on linker file

Carl_G
Associate II

When I make a change to the Minimum Heap Size setting in the ioc file (STM32CubeIDE 1.16.1) for G071RBTX, it results in no change to the linker file. However, changing the Minimum Stack Size here does cause a change in the liker file. What does the MHS setting actually do?

I have read posts claiming that this is some type of check and has no other real value. I can't understand what is meant by this however. I don't use a heap in my programs as far as I am aware. I do use FreeRTOS but it seems that has its own chunk of RAM that it uses as a heap but not related to this MHS setting. I'm not starved for RAM but I am interested in knowing what this setting is supposed to do.

0 REPLIES 0