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:影响代码功能的 CADE 优化级别、为什么?

Guru**** 2533390 points


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

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1536650/mspm0g3107-cade-optimization-level-affecting-my-code-functionality-why

器件型号:MSPM0G3107


工具/软件:

我已编写自定义引导加载程序、它会在检查是否存在有效应用程序后跳转到应用程序。
如果我使用 0 级优化、不会跳转到应用。 如果我使用 2 级优化、它可以正常工作。