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.

[参考译文] TMS570LC4357:请检查浮点选项。

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

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1271239/tms570lc4357-please-check-floating-point-option

器件型号:TMS570LC4357

你好。


我目前正在使用 TMS570LC4357 MCU、如果 我使用 float 或 double 类型变量、则 if 语句不能正常工作、或者计算值变为奇怪的值。

因此、将所有变量更改为无符号和整数类型后、所有问题都会得到解决。

我正在检查我怀疑的器件、因为我认为编译选项错误。

在 CCS 中、CortexR5在 General 菜单中被正确设置。

然而、处理器选项被设定为 VFPv3D16、并且此说明显示这个设置针对 Cortex-R4。

我认为在处理浮点时会有问题、而这种设置是这样的、对吗?

该设置中没有 Cortex-R5的设置、我应该怎么做?



谢谢你。

韩硕