cancel
Showing results for 
Search instead for 
Did you mean: 

FreeRTOS parameters wrong parameter values (heap size flagged as error)

chriskuku
Senior III

STM32CubeIDE 1.19.0 macOS 15.7.7 FreeRTOS 10.3.1

I have an application that is using FreeRTOS and when leaving the configuration, I'm getting an alert box:

Bildschirmfoto 2026-05-22 um 10.12.51.png

 

All I can see is a pink error indicator:

Bildschirmfoto 2026-05-26 um 15.39.45.png

Bildschirmfoto 2026-05-26 um 15.52.08.png

When I change the heap size parameter to 5*2048, nothing happens. The error/warning stays and the 3160 (632 chunks) also do not change. Any ideas what might be wrong?

3 REPLIES 3
Andrew Neil
Super User

@chriskuku wrote:

STM32CubeIDE 1.19.0  


That's quite old - current is v2.1.1

 

But note that v1.19.0 was the final CubeIDE to have CubeMX integrated:

STM32CubeIDE 2.0.0 New workflow tutorial

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.

The error also occurs, when I Generate Code from that project from within STM32CubeMX 6.16.1

Pavel A.
Super User

What if you click OK and generate anyway?  Will it build and create executable for debugging?

You're taking the CubeMX too seriously. It is not AI (yet). Use what it yields and fix manually.