2025-02-20 11:36 PM
In Stm32CudeIde, FreeRTOS has been added to the CudeMx settings.
There is a project.ioc in which all the cube settings are available.
In the gui cube settings, I can't make an event with static placement, only Dynamic. The Static string is not in the Allocation combo box at all. I have created a new project. In the Event, you can select Static or Dynamic in the Allocation combo box. I began to compare the two *.iocs. I found out that in the project where it is not possible to select Static in the event, there is a FREERTOS line in the ioc.MEMORY_ALLOCATION=0, but in the new test project this line is not present.
I couldn't find a "checkmark" in the cube that does "FREERTOS.MEMORY_ALLOCATION=0". I Googled the word "FREERTOS.MEMORY_ALLOCATION" and found several open *.ioc files with the lines "FREERTOS.MEMORY_ALLOCATION=0" and some with "FREERTOS.MEMORY_ALLOCATION=2". But in any manuals, I did not find any mention of MEMORY_ALLOCATION. Where do the legs grow from? Where does FREERTOS.MEMORY_ALLOCATION come from in ioc? What does it affect? If it's 0 or 2, what's the difference?
2025-02-21 05:59 AM