I followed the instructions on getting an Edge Impulse Arduino Library to run on an generic ARM Arduino. I am trying to get it to work on the Adafruit Bluefruit Sense.
With the Static Buffer example it compiles fine if I don’t fill out the feature array, however if I fill it in, I get:
sketch/nano_ble33_sense_accelerometer.ino.cpp.o: In function (anonymous namespace)::extract_spectral_analysis_features(ei::ei_signal_t*, ei::ei_matrix*, void*)': /Users/lberndt/Library/Arduino15/packages/arduino/tools/arm-none-eabi-gcc/7-2017q4/arm-none-eabi/include/c++/7.2.1/bits/std_function.h:705: undefined reference to
std::__throw_bad_function_call()’
collect2: error: ld returned 1 exit status
exit status 1
Error compiling for board Adafruit Feather Bluefruit Sense.
I will compile if I fill in a just a few floats in the feature array and runs on the board, but will print out a message on serial about the feature array not being long enough, so that seems good.
I am using Arduino studio 1.8.12 on a OS X 10.15.4