We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi,
I am using a Silicon Labs MCU (ARM M33 cortex based) and using the CMSIS DSP library to run the example code provided by ARM for FIR functionality. I added the library into my project and added the symbols "ARM_MATH_CM3 = 1" and "__FPU_PRESENT = 1". For reference, I followed this page. It seems like I have a couple of problems in the "arm_math.h" header file. I have attached the image for the same. Can someone guide me on how to solve this issue?
Hi Giggs
I have moved your question to the Architectures and Processors forum where someone may be able to help you.
Thanks
Oli
Update: I was able to solve the "redefinition" issue. I had to add these 2 macros: "ARM_MATH_DSP=1" and "ARM_MATH_ARMV8MML=1" I am using this microcontroller (datasheet).
However, I am facing this one more problem, I receive an error which says, "#error "Compiler generates FPU instructions for a device without an FPU (check __FPU_PRESENT)"". I checked other sources as well but cannot figure out how to solve it, without this issue, I am unable to build the program. The image shows the macros I have added (highlighted in yellow). Would appreciate any help, Thanks.