I'm working on a bare-metal project on the STM32F4Discovery Board and I'm trying to integrate the CMSIS DSP library.
I've downloaded the pre-compiled library and include files for the Cortex M4 processor from this Github Repository.
I also downloaded the include files of CMSIS/Core/Include since I read that the CMSIS library is required for the DSP library.
DSP
├── Include
| ├── core //Here I added the CMSIS/Core includes.
| └── dsp
└── libarm_cortexM4lf_math.a
In order to use it I added to my main.cpp file the following line:
#define ARM_MATH_CM4
#include "arm_math.h"
but when I compile the whole project I get the following error
DSP/Include/arm_math_memory.h:76:1: error: '__STATIC_FORCEINLINE' does not name a type
Why do I get this error? How can I fix it?