I’m getting back to this project after a long time (March 2021!).
I can no longer deploy to nano33ble with platformio.
The arduino library builds fine on the ei website and I downloaded it and set it as a library.
The compilation fails here:
In file included from .pio/libdeps/nano33ble/laura_skirt_inferencing/src/edge-impulse-sdk/porting/espressif/ESP-NN/src/activation_functions/esp_nn_relu_
.pio/libdeps/nano33ble/laura_skirt_inferencing/src/edge-impulse-sdk/classifier/ei_classifier_config.h:37:14: fatal error: mbed_version.h: No such file o
I don’t know why PIO is trying to compile esp or mbed stuff, I’m using the arduino framework.
The platformio setup file is here: https://github.com/mattvenn/laura_skirt/blob/main/firmware/platformio.ini
project repo: GitHub - mattvenn/laura_skirt
ei project: https://studio.edgeimpulse.com/studio/19877
I tried with a completely new project in case there was some outdated state in the previous one.
Now I get this error
*** [.pio/build/nano33ble/src/nano_ble33_sense_accelerometer_continuous.ino.cpp.o] Error 1
========================= [FAILED] Took 30.54 seconds =========================
not even a proper error message…
I threw out the source and replaced it with the example
now I’m back to
In file included from .pio/libdeps/nano33ble/tester_inferencing/src/edge-impulse-sdk/porting/espressif/ESP-NN/src/activation_functions/esp_nn_relu_s8_esp32s3.S:1:
.pio/libdeps/nano33ble/tester_inferencing/src/edge-impulse-sdk/classifier/ei_classifier_config.h:37:14: fatal error: mbed_version.h: No such file or directory
github action gets the same error so at least I know this isn’t just my platform causing the issue.
same platformio setup works without edge impulse lib: led test fw · mattvenn/laura_skirt@f6e3444 · GitHub
so I’m now pretty certain that edge impulse arduino library don’t work with platformio for some reason. Next I’ll try with the arduino ide
I tried arduino-cli, which can compile with no errors. It can’t upload, but that’s a different story.
So I think I have a path for deploying again. Will try with the real firmware and impulse.
ok, works. can recompile a new deployment and flash to the nano and it works as before!
Welcome bask @mattvenn! We hope you are excited to see all of the features that have been added!
Please share details on the steps you needed to take to recover, if we are missing these steps from the FAQ / Troubleshooting.
I’d be happy to update them so others returning can have a smooth experience.
I think this is an issue with platformio and edgeimpulse packaged libraries. I think if I followed the tutorials and used the arduino IDE it would have been fine. I just really don’t like the arduino IDE and have used platformio for years.
You can take a look at our Blues Wireless docs, they use platform io:
Nice work! I can see that they already patched and the issue was resolved: