Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
ckforce opened this issue Apr 23, 2024 · 3 comments
Closed

Comments

@ckforce
Copy link

ckforce commented Apr 23, 2024

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

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

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

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

@github0null
Copy link
Owner

这个可能是 bug,

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

@ckforce
Copy link
Author

ckforce commented Apr 24, 2024

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

@github0null
Copy link
Owner

该问题已在 v3.16.1 中修复

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants