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.

[参考译文] CCS/MSP430F5342:无法执行浮点计算

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

https://e2e.ti.com/support/microcontrollers/msp-low-power-microcontrollers-group/msp430/f/msp-low-power-microcontroller-forum/649956/ccs-msp430f5342-unable-to-do-floating-point-computation

器件型号:MSP430F5342

工具/软件:Code Composer Studio

您好!
我使用 MSP430F5342控制器、我需要在项目中执行浮点计算、基本除法和乘法、但无法执行、因为我得到的标记为"
"- #1531-D (ULP 5.2)检测到浮点运算。 建议在运行时将其移动到 RAM 或不使用、因为这些是处理/功耗密集型的"。
代码正在编译、我们能够对其进行调试、但包含浮点计算的行完全不会执行、即使我们不能在此上面放置断点。
请解决此问题

谢谢、此致
Suhas S

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    请显示您的代码。 例如、编译器可能已优化您的浮点运算。

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

    谢谢 Bruce、

    它已禁用 ULP 通知