arduino / ArduinoAI

Arduino AI content / demos
71 stars 48 forks source link

I try to compile this on Arduino 1.8.13 but can't link the arm_math.h functions #3

Closed deftio closed 3 months ago

deftio commented 3 years ago

When I try to compile this it can't linke arm_rfft_init_q15. How do I add that to nano BLE sketch / toolchain?

isetthestandard commented 3 years ago

I have the same problem. Did you find a solution? Best regards

deftio commented 3 years ago

If you use the online compiler from arduino.cc then I got it to work but I can't get it to build on my laptop stand alone...

isetthestandard commented 3 years ago

When you use the version 1.1.6 in the board manager than it works. Not with the 1.3.0

deftio commented 3 years ago

You're right I got 1.1.6 to work. Thanks!

isetthestandard commented 3 years ago

No problem. Maybe someon find a fix in 1.3.0

maxgerhardt commented 3 years ago

Can you try

https://github.com/DaleGia/Nano33BLESensor/issues/6#issuecomment-776717279

carlosperate commented 3 years ago

If you use the online compiler from arduino.cc then I got it to work but I can't get it to build on my laptop stand alone...

Looks like the online compiler doesn't work these days either :/

carlosperate commented 3 years ago

arm_math.h has now been released as an Arduino library:

I'm currently having an issue compiling it with the "Arduino Mbed OS Nano Boards" core v2.1.0 and v2.0.0, once that is fixed we should have a simple way to compile this again: https://github.com/arduino/ArduinoCore-mbed/issues/228


Edit: Turns out the issue was due to using an older version of the IDE, after upgrading to v1.8.15 it compiled correctly 😃

x5115x commented 5 months ago

Install "Arduino_CMSIS-DSP" library will fix this error.

deftio commented 3 months ago

Closing this as its an old issue and fixes are mentioned in the thread.