DaleGia/nano-33-sense-serial-example

Undefined reference to `arm_rms_q15' compile error

netstx opened this issue · 3 comments

I downloaded all the libraries and get the following error while compiling, any ideas?

sketch\nano-33-sense-serial-example.ino.cpp.o: In function `Micophone_computeRMSValue()':
C:\Documents\Arduino\nano-33-sense-serial-example/nano-33-sense-serial-example.ino:295: undefined reference to `arm_rms_q15'
collect2.exe: error: ld returned 1 exit status
exit status 1
Error compiling for board Arduino Nano 33 BLE.

This example was made using a now depreciated version of the arduino mbed core. In the depreciated version dsp functions like this are available, but it seems these functions are no longer defined in the new mbed core. I have been intending to bring this up with them.

For the time being when I get a chance i will implement another RMS function (although it wont be early as efficient). If you want to get the example working ASAP, just delete the microphone related code.

Thanks for bringing this up!

@DaleGia thanks for getting back to me right away! That makes sense. And like you said, I commented out the line that calls that function, so I was able to test everything else with the code. :)

@DaleGia after a bit more digging, I found this issue: arduino/ArduinoCore-mbed#7