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.

[参考译文] MSPM0G3107:M3107 nortos 示例需要配置 STACK_SIZE

Guru**** 2696755 points

Other Parts Discussed in Thread: MSPM0G3507

请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1598258/mspm0g3107-m3107-nortos-example-need-configuration-stack_size

器件型号: MSPM0G3107
Thread 中讨论的其他器件: MSPM0G3507

由于 mspm0_sdk_2_08_00_04 SDK 中 examples\nortos\LP_MSPM0G3507 的默认堆栈大小为 512、太小、因此我们需要可配置的堆栈大小。

pic_1.jpg

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    此文件由 syscfg 自动生成、您可以在 syscfg 中禁用链接器文件:

    然后将.cmd 文件复制到工程根文件夹、

    再次构建该工程。

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    为什么不配置 mspm0g3507.cmd 文件、如此处所示。

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    SYSCFG 可以自动生成链接器文件函数、以便在器件之间更轻松地迁移。