eide icon indicating copy to clipboard operation
eide copied to clipboard

选择CPU类型为:Cortex-M33.Dsp时,没有硬件浮点选项的配置

Open ckforce opened this issue 10 months ago • 2 comments

目前是的情况是选了Cortex-M33可以选FPU类型 image

选择Cortex-M33.Dsp,就没法选择FPU类型了 image

并且选择Cortex-M33.DSP时,编译参数输出的是-mfloat-abi=soft

需要在选择M33.DSP的情况下启用硬件FPU

ckforce avatar Apr 23 '24 07:04 ckforce

这个可能是 bug,

你可以手动添加 -mfloat-abi=xxx 到 C/C++ 选项里,会覆盖掉旧的选项的

github0null avatar Apr 24 '24 01:04 github0null

现在的做法是选择Cortex-M33,浮点选single,然后在编译选项里加上-mcpu=cortex-m33,覆盖-mcpu=cortex-m33.nodsp

ckforce avatar Apr 24 '24 09:04 ckforce

该问题已在 v3.16.1 中修复

github0null avatar May 13 '24 01:05 github0null