2021-01-14 08:04 AM
I want to use a CMSIS-DSP FIR function in my code and get a compile error:
compiling phase_det.c...
../Drivers/CMSIS/Include/core_cm4.h(81): 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)"
..\Src\phase_det.c: 0 warnings, 1 error
In Keil I used the 'Manage Runtime Environment ' to add CMSIS-DSP Library. In my source code file I haven't yet added the FIR, but I did add the include "arm_math.h".
What does the above error mean? The STM32G431 does have an FPU as far as I know (Ref Manual). Anyway, I want to use fixed point FIR.
What steps do I need to take to properly install the CMSIS-DSP Library?
Solved! Go to Solution.
2021-03-25 10:48 AM
Did you post this on the Keil forum 2 months ago?
EDIT
Ah - the OP here is 2 months old, too: @Igor Cesko has just woken it up!
2021-03-25 08:46 AM
Hi
BTrem.1 ,
This is similar task as this :
https://community.st.com/s/question/0D50X00009Xkdut/how-to-enable-fpu-in-stm32f7
Regards
Igor
2021-03-25 10:46 AM
2021-03-25 10:48 AM
Did you post this on the Keil forum 2 months ago?
EDIT
Ah - the OP here is 2 months old, too: @Igor Cesko has just woken it up!
2021-03-28 08:47 PM
Yes that's me. Problem resolved with order of #includes.
2021-03-29 02:52 AM
Then please update your Keil thread, and mark the solution there.
Also choose 'Best Answer' here: