espressif / esp-tflite-micro

TensorFlow Lite Micro for Espressif Chipsets
Apache License 2.0
374 stars 81 forks source link

Using ESP-NN in Zephyr project (or build with another build system) (TFMIC-11) #71

Open Yaxit opened 9 months ago

Yaxit commented 9 months ago

Hi, I'm working on a benchmarking project within a Zephyr RTOS application on the Stamp_3c board (ESP32-C3). I previously succeded in setting up the project with CMSIS_NN acceleration on another platform, and I would like to do something similar with the new board.

I'm a bit confused about how I can build TFLite with ESP_NN kernels and use these in a Zephyr project. I first thought that I could add the project as a subdirectory from my CMakeLists file, but of course, this does not work, as the build system of Zephyr has no notion of ESP-IDF. I must admit I'm not very practical of build systems in general, which does not help.

Any idea on how I could achieve this?