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.

Linker ignoring stack size setting.

Other Parts Discussed in Thread: TMDX570LC43HDK, HALCOGEN

This is CCS 6.1.3.00034 on Windows 10.

Target is TMS570LC43XX on the TMDX570LC43HDK.

I am setting the stack size in the Build->ARM Linker->Basic Options->"Set C system stack size" to a larger value (say, 0xC800), but when I look at the map file, it always says:

MEMORY CONFIGURATION

name origin length used unused attr fill
---------------------- -------- --------- -------- -------- ---- --------
VECTORS 00000000 00000020 00000020 00000000 X
FLASH0 00000020 001fffe0 000306ce 001cf912 R X
FLASH1 00200000 00200000 00000000 00200000 R X
STACKS 08000000 00001500 00000000 00001500 RW
RAM 08001500 0007eb00 000109cf 0006e131 RW

When I run the debugger, it shows the initial value of the stack pointer as 08001000, or 4K. It counts down as I call into functions as expected. It doesn't seem to matter what I set the stack size to, it's always 4K. I even set it to 2K to see if there is some hidden max value, but it was still 4K.