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/TMS320F28335:有关 rts2800_fpu32.lib 的问题

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

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/803380/ccs-tms320f28335-a-question-about-rts2800_fpu32-lib

器件型号:TMS320F28335

工具/软件:Code Composer Studio

大家好:

  我有关于 rts2800_fpu32.lib 的问题、需要您的帮助。

  若要将项目编译为浮点、请执行以下步骤:

     1  在运行时模型选项的"指定浮点支持(-float_support)"下拉菜单中:选择"fpu32"。

2在"Include linker file or command file as input (--library、-l)"框中、单击绿色加号并添加 rts2800_fpu32.lib (运行时支持库)。

但是、在执行我的项目之后。 我收到一条警告消息"隐式声明函数 sin "。 而且 、正弦函数的计算结果 也是错误的。

DSP:F28335   CCS 版本:6.0.1

我如何才能算出它? 请。

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

    Chengfu、

    警告消息说 sin ()没有函数原型。  您是否在源文件中包含 math.h?

    此致、

    David

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

    我还怀疑您未能包含 math.h  是这样吗?

    谢谢、此致、

    乔治

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

    因为已经有一段时间了,我想你已经解决了你的问题。  非常感谢您的解决。

    谢谢、此致、

    乔治