Hi everyone....
I am using TIVA TM4C1231D5PZ and having problem with building target.
The error I am facing in this line "__STACK_TOP =__stack + 512;".in the linker file.
Name of Error is __stack is undefined.
Any help will be greatly appreciated.
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi everyone....
I am using TIVA TM4C1231D5PZ and having problem with building target.
The error I am facing in this line "__STACK_TOP =__stack + 512;".in the linker file.
Name of Error is __stack is undefined.
Any help will be greatly appreciated.
Hello Navi,
There is not a lot of detail here to work from but the first thing that comes to mind for me is that the project does not have a .cmd file included properly. See if that is the case and if so that would be the root cause.
If that is not an issue, please take a screenshot of your project directory inside of Code Composer Studio like this:

Best Regards,
Ralph Jacobi
Name of Error is __stack is undefined.
Can you clarify which compiler you are using?
The TI ARM compiler tools create the symbol __stack as well as __STACK_END, __STACK_SIZE - found in Symbols in stack? but not all the symbols are described in the TI ARM compiler documentation.
Hi Ralph....
Got it.. You are right .cmd file was not included properly which caused error.
Thank you so much!! Ralph and Chester Gillon for your concern.