芯片型号是F302
MDK5.20
程序中有浮点运算 编译时报错,如下:
C:/Users/MJ/
STM32Cube/Repository/STM32Cube_FW_F3_V1.6.0/Drivers/CMSIS/Include/core_cm4.h(128): error: #35: #error direc
tive: "Compiler generates FPU instructions for a device without an FPU (check __FPU_PRESENT)"
#error "Compiler generates FPU instructions for a device without an FPU (check __FPU_PRESENT)"
可是 已在MDK中选择了FPU,__FPU_PRESENT也已定义为1 配置如下图
请教各位大神怎么解决这个问题那 谢谢啦
一周热门 更多>