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
This is merely memory which is not related to the previous two items.
Unless, in the case of FreeRTOS, a memory manager is used that allocates memory from the heap or processor stack. But usually this is not the case.
So,
RAM = processor stack + processor heap + memory for FreeRTOS + more unused RAM (optional).