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.

Initializing the Tiva-C stack with a pattern



Hi, I would like to initialize the stack of my Tiva-C at powerup with a specific pattern (in support of a worst-case stack usage analysis).

I tried to use the "fill" linker directive, but this is not working.

.stack  :   > SRAM, fill = 0xAAAA5555

I am using the TI ARM compiler (v 5.1.10).

Any tips are much appreciated.