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.
您好!
我的客户在构建项目时遇到警告。 警告如下:
建议:(性能) EABI 翻倍
COFF 的精度为64位、而 COFF 为32位。 考虑
将双精度值更改为浮点数以提高 FPU32模式下的性能。
它们在 Makefile 的编译配置中设置 float_support=fpu32。
例如、: sint32_t 为 long (数据类型)
Sint32_t PWM_FREQUENCY;
PWM_FREQUENCY =_IQ10 (MAX_FREQ);
当 MAX_FREQ=72345,时、没有警告。
Sint32_t PWM_FREQUENCY;
sint32_t abc;
PWM_FREQUENCY =_IQ10 (abc);
当 abc=72345,时、会出现警告。
Sint32_t PWM_FREQUENCY;
sint32_t abc;
PWM_FREQUENCY = abc<<10;
当 abc=72345,时 、没有警告。
问题是为什么会出现警告? 如何消除警告? 能否提供 EABI 和 COFF 的用户指南?
非常感谢!
您好!
我无法重现您 的问题:
您能否提供准确的项目设置? (.cproject、.project)
-Shantanu
它是否与编译器版本相关? 它们使用 ti-cgt-C2000_20.2.1.LTS。
我尝试了20.2。 仍然无法复制。\n 您能否共享准确的项目设置?
好的。 我会问他们。 谢谢!