Tool/software: TI C/C++ Compiler
Good morning,
I have a basic question, I have seen on everywhere that the task stack is declared outside the main function, if it is declared inside I get this error (I was using the empty_min example):
[CORTEX_M4_0] FSR = 0x0000
HFSR = 0x40000000
DFSR = 0x00000001
MMAR = 0xb048564a
BFAR = 0xb048564a
AFSR = 0x00000000
Terminating execution...
I suspect that if it is declared inside, the task stack is out of the scope for the function and therefore, the error.
I'd like to verify if this is the case.
Thanks in advance,
Carmen