I am trying to build a project with the edge impulse SDK, namely edge-impulse-ingestion on firmware-eta-compute-ecm3532 and somehow I am getting an error of finding the right include within the Segger project, namely I am missing the path to the #include “eta_bsp.h”
Hi @felipe.carrau, actually nothing special in the CMake/Make builds. For a minimal application with a Makefile that builds an app + library, see https://github.com/edgeimpulse/example-standalone-inferencing should be pretty simple to get this running on a different target. We also ship with a CMakeLists.txt file in the C++ Library export, just including that in the CMakeLists of your application should build in any CMake environment already.
Hello Jan ! Thanks for your response. I finally got it running yesterday for an nRF5 SDK example “ble_app_blinky” adding what was inside the Zephyr example Makefile to ours. It was a bit of a pain as it was the first time I worked with editing Makefiles. The good thing was that the only edit to edge-impulse-sdk I had to make was changing this:
/edge-impulse-sdk/CMSIS/DSP/Include/arm_math.h __STATIC_FORCEINLINE macros to:
static inline attribute((always_inline))
Great, 3) should not be necessary though, and you can drop 2) if you want to lower memory usage (it’ll dynamically allocate the tensor arena in that case). What’s the type of model you’re running? The Studio’s estimate of DSP/NN usage should be accurate for this target.