2022-12-11 04:20 PM
I am using the F411 by CUBE IDE.
I enable the CUBE's library of DSP and it was accomplished naive. Even after I inserted <include "arm_math.h"> the BUILD worked perfectly. But, after I copied one arm_FIR_filter_example from GITHUB, the compilation chashed showing that "I am using PFU instruction on a CPU without FPU". But this CPU HAS FPU and it seems enabled as the post: https://community.st.com/s/question/0D53W000013p53cSAA/how-to-use-fpu-in-stm32f407
Please, do someone knows what should I add to this environment in order to build perfectly?
The path & symbols: ARM_MATH_CM4 (from properties)
MCU GCC Assembler:-mthumb -mcpu=cortex-m4 -mfloat-abi=hard -mfpu=fpv4-sp-d16
It seems correctly configured by CUBE itself, but the BUILD does not finish sucsessfully.
Regards.
2022-12-13 01:52 PM
Thanks for your reply.
I supposed that I had activated the FPU as my enclosed picture (in fact the CUBE did it itself).
I will just test your sent file and see what it will be.
I tested it, your sent code, And it runs perfect. But I did not find my mistake until now.
If you don't mind to dig inside of my broken test program...I enclosed it
Regards, regards...
2022-12-13 03:46 PM
2022-12-14 11:56 AM
2022-12-14 03:52 PM