This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

stack heap initialization

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

Parents
  • Tailoring = customizing.

    So the startup file says that you, as developer, should adjust the size of the stack based on how much you need.

    And the processor needs a stack before it starts the RTOS. The RTOS would then have own methods to define the stack size (and mapping them to a memory pool or explicitly allocated buffers) for the individual threads.

Reply
  • Tailoring = customizing.

    So the startup file says that you, as developer, should adjust the size of the stack based on how much you need.

    And the processor needs a stack before it starts the RTOS. The RTOS would then have own methods to define the stack size (and mapping them to a memory pool or explicitly allocated buffers) for the individual threads.

Children