Hi,
I have a question related to the system stack size of the TM4C1294 chip.
I'm using the default startup file from TI, which declares and initializes the system stack size as follows (excerpt):
;****************************************************************************** ; <o> Stack Size (in Bytes) <0x0-0xFFFFFFFF:8> ;****************************************************************************** Stack EQU 0x00001000 ;****************************************************************************** ; Allocate space for the stack. ;****************************************************************************** AREA STACK, NOINIT, READWRITE, ALIGN=3 StackMem SPACE Stack __initial_sp
After the initialization, I start with an RTOS kernel configuration and create some threads.
The configuration contains again a default stack size declaration, i.e each thread and the kernel itself occupy some stack size.
How is the RTOS default stack size related to the system stack size?
Does the RTOS configuration overwrite the stack size initialization in the startup file?
What occurs when the RTOS and overall thread stack size is larger than the system stack size in the startup file?
I am asking in general, independently of the RTOS product (it could be freeRTOS, TI-RTOS or any other kernel), because I assume the concept of all the kernels might be similar or even the same.
Thanks in advance for the support.