STM32/STM8技术william hill官网
直播中

promess

8年用户 6经验值
擅长:可编程逻辑 模拟技术 嵌入式技术 接口/总线/驱动 处理器/DSP 控制/MCU EDA/IC设计 RF/无线
私信 关注
[问答]

我的mdk5出现这个问题,怎么解决

D:toolsmdk5ARMCMSIS14.5.0CMSISIncludecore_cm4.h(129): error:  #35: #error directive: "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)"
..UserSourceposition.c: 0 warnings, 1 error
compiling STM32f30x_it.c...
compiling i2c.c...
compiling quarternion.c...
D:toolsmdk5ARMCMSIS14.5.0CMSISIncludecore_cm4.h(129): error:  #35: #error directive: "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)"
..UserSourcequarternion.c: 0 warnings, 1 error
compiling sliding_filter.c...
compiling mpu9250.c...
D:toolsmdk5ARMCMSIS14.5.0CMSISIncludecore_cm4.h(129): error:  #35: #error directive: "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)"
..UserSourcempu9250.c: 0 warnings, 1 error
compiling delay_dwt.c...
compiling flash.c...
compiling spi.c...
compiling spi_slave.c...
compiling uart.c...
compiling ringbuf.c...
compiling arm_cos_f32.c...
D:toolsmdk5ARMCMSIS14.5.0CMSISIncludecore_cm4.h(129): error:  #35: #error directive: "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)"
....LibrariesCMSISDSP_LibSourceFastMathFunctionsarm_cos_f32.c: 0 warnings, 1 error
compiling arm_sin_f32.c...
D:toolsmdk5ARMCMSIS14.5.0CMSISIncludecore_cm4.h(129): error:  #35: #error directive: "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)"
....LibrariesCMSISDSP_LibSourceFastMathFunctionsarm_sin_f32.c: 0 warnings, 1 error
".Outputstm32f3.axf" - 5 Error(s), 0 Warning(s).
Target not created.
Build Time Elapsed:  00:00:11

回帖(2)

Triplestone2006

2016-5-3 21:27:11
是不是浮点开关设置的问题。。
举报

沃尔夫斯堡

2017-4-23 11:22:36
LZ,问题解决了么???
举报

更多回帖

发帖
×
20
完善资料,
赚取积分