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.

MSPM0L1227: Change Stack Size

Part Number: MSPM0L1227
Other Parts Discussed in Thread: SYSCONFIG

Tool/software:

Hi,

 

My customer wants to change the stack size from the default number “256”.

Could you tell them how to change the stack size ?

They tried to add “-stack size=0x580 -WI” to Arm Linker flags in the Property, but “-stack size =256” is not changed in the device_linker.cmd.

 

Thanks and regards,

Hideaki

  • The only way I found to do this was to un-check "Project Configuration->Linker File Generation" then edit the device_linker.cmd.

    This was some time ago, so maybe there's a better way now.

  • Hi Hideaki,

    I would do so by unchecking the setting Bruce mentions in the .syscfg, and then manually copying and editing, or creating your own linker file.

    But as you mention, the linker file is written by Sysconfig when you have this option enabled, and currently the Sysconfig tool does not take your linker flags into account, rather it just inserts the default linker.