edgeimpulse / firmware-arduino-nano-33-ble-sense

Edge Impulse firmware for the Arduino Nano 33 BLE Sense development board
Apache License 2.0
60 stars 19 forks source link

If I try building this on the old Artduino IDE 1.8.15 It can't find several includes #9

Closed hpssjellis closed 1 year ago

hpssjellis commented 2 years ago

If I try building this on the old Artduino IDE 1.8.15 It can't find several includes

The includes are in the repository just the arduino IDE can't find them. Is there any easy fix to include the paths some how?

Starting with src/QCBOR/inc/UsefulBuf.h from src/QCBOR/src/UsefulBuf.c


#include "UsefulBuf.h"    fails

#include "../inc/UsefulBuf.h"   works

And a few files can't find #include "../inc/qcbor.h" same kind of situation.


firmware-arduino-nano-33-ble-sense/src/edge-impulse-sdk/CMSIS/DSP/Source/BasicMathFunctions/arm_abs_f16.c:1:10: fatal error: edge-impulse-sdk/dsp/config.hpp: No such file or directory```
hpssjellis commented 2 years ago

My bad. I forgot that I have to copy the boards.local.txt file to my nano mbed hardware folder

AppData\Local\Arduino15\packages\arduino\hardware\mbed_nano\3.1.1

It compiled fine on the Arduino IDE, but my Nano33BleSense is not connecting to EdgeImpulse using webUSB.

hpssjellis commented 1 year ago

Just trying this again with Arduino MBED core 3.2.0 and I noticed the Arduino build is in it's own branch now.

Also the borads.local.txt file has no linefeeds making it very hard to read. Can it be resafed with the linefeeds.

automatiek commented 1 year ago

We see a lot of heap mem fragmentation errors with version 3.2.0. Currently we rely on v 1.1.6. As soon as Arduino fixes this issues, we will upgrade.