Artemis Nano PDM examples

I am trying to compile and run the example file “Example1_MicrophoneOutput”. I am getting an error relating to the arm_math.h file. I am using the Arduino IDE v 1.8.13 with the Sparkfun Apollo3 Boards v 2.0.5.

The error is happening on line 345 of the arm_math.h file. The error is:

error: #error “Define according the used Cortex core ARM_MATH_CM7, ARM_MATH_CM4, ARM_MATH_CM3, ARM_MATH_CM0PLUS, ARM_MATH_CM0, ARM_MATH_ARMV8MBL, ARM_MATH_ARMV8MML”

#error “Define according the used Cortex core ARM_MATH_CM7, ARM_MATH_CM4, ARM_MATH_CM3, ARM_MATH_CM0PLUS, ARM_MATH_CM0, ARM_MATH_ARMV8MBL, ARM_MATH_ARMV8MML”

^~~~~

exit status 1

Error compiling for board RedBoard Artemis Nano.

Any help on how to get around this? Thanks!