5.7.1.18 Stack-in-tcm Option

The -mstack-in-tcm option places the runtime stack into the data tightly coupled memory (TCM) region. The runtime startup code will transfer the stack from System SRAM to DTCM before calling your main() function. This options must be used at both compile and link times.