Dana Myers

STM32Cube: Min Stack/Heap when using FreeRTOS

Discussion created by Dana Myers on Oct 9, 2017

From what I can tell, when using FreeRTOS, Min Heap should be 0x0 - I haven't found anything calling malloc() so far.

Min Stack: just needs to be enough to main and FreeRTOS startup, after which the stack(s) come out of the FreeRTOS heap. It would be nice to recover that 288 bytes of start-up stack after FreeRTOS is running - is that something planned for STM32Cube?

 

BTW, I rather like STM32Cube, though I tend to select LL versions of APIs.

 

Cheers,

Dana

Outcomes