We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Dear Sir
I don't uderstand the meaning of stack size in the startup assembler code (stm32),what is for ? I have some confusion because the file is talking about stack tailor :
Amount of memory (in bytes) allocated for Stack Tailor this value to your application needs Stack Configuration
In the case we have FreeRTOS running on ,where the memory of freertos is allocated ,it is depending on the stack tailor size?
Same questions about the heap size(in the startup file)
Thank you
Wrong.
Stack is stored in RAM. Heap is stored in RAM. Read/Write variables (global, local and parameters) are stored in RAM. ...
A program may use the CRTL (C Runtime Library) heap functions for memory allocation. Or a program may use own code. And that own code may not use any heap declared in the startup file but instead make use of one or more large array variables.
Read this, regarding memory allocations in FreeRTOS.