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:
Compiling .pio/build/nano33ble/libc1e/laura_skirt_inferencing/edge-impulse-sdk/porting/arduino/ei_classifier_porting.cpp.o
Compiling .pio/build/nano33ble/libc1e/laura_skirt_inferencing/edge-impulse-sdk/porting/espressif/ESP-NN/src/activation_functions/esp_nn_relu_ansi.c.o
Compiling .pio/build/nano33ble/libc1e/laura_skirt_inferencing/edge-impulse-sdk/porting/espressif/ESP-NN/src/activation_functions/esp_nn_relu_s8_esp32s3.
S.o
In file included from .pio/libdeps/nano33ble/laura_skirt_inferencing/src/edge-impulse-sdk/porting/espressif/ESP-NN/src/activation_functions/esp_nn_relu_
s8_esp32s3.S:1:
.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
r directory
ompiling .pio/build/nano33ble/libfa7/tester_inferencing/edge-impulse-sdk/porting/espressif/ESP-NN/src/activation_functions/esp_nn_relu_s8_esp32s3.S.o
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
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.
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.