Deploying EI model to Arduino MKR Wifi 1010 - Compile error

Hi all, I apologize for what I hope is a simple answer. I deployed a simple accelerometer model to an Arduino library and I’m trying to run it on an Arduino MKR Wifi 1010.

When compiling, I get the following error:

src/edge-impulse-sdk/CMSIS/DSP/Include/arm_math_memory.h:75:1: error: '__STATIC_FORCEINLINE' does not name a type; did you mean '__STATIC_INLINE'?
 __STATIC_FORCEINLINE q31_t read_q15x2 (

I’m wondering if the issue is because the MKR 1010 is a SAMD board whereas most other Arduinos are Mbed OS? Should I deploy as a C++ library instead of an Arduino library?


Hi @jlutzwpi

The Arduino MKR Wifi 1010 is currently not yet supported by edge impulse hence the downloaded Arduino library from Edge Impulse might not work by default. Could you maybe try deploying as a C++ library and share the results here?


1 Like

Ok, I got it working! I had to do some #defines to get it to compile. Some Edge Impulse documentation was actually really helpful:

I had to define


Once I did that I was able to compile and run my model! Phew!!


Great and thanks for the updates @jlutzwpi !

Hi jlutzwpi,
I have the same problem with the board MKR1010 WIFI. How you had define


Hello @Gabriele.

See the Slow DSP operation section in the documentation.