I need a MicroPython firmware for the ESP32-S2 AI Thinker CAM
Hello, I need a MicroPython firmware for the ESP32-S2 AI Thinker CAM that has TensorFlow Lite already built in. Can someone guide me on where I can find a pre-built version of this firmware? Any help with resources or instructions on obtaining and flashing this specific firmware would be greatly appreciated.
@Middleware & OS
Solution:Jump to solution
Hi @wafa_ath for your request, you might not find a pre-built firmware directly from the official MicroPython repository. but you can build it yourself. The ESP32-S2 has TensorFlow Lite Micro support, so you can include it in your MicroPython build, by:
Install the ESP-IDF (Espressif IoT Development Framework).
Install the required tools for building MicroPython (make, gcc, etc.).
Clone the MicroPython Repository:...
2 Replies
Solution
Hi @wafa_ath for your request, you might not find a pre-built firmware directly from the official MicroPython repository. but you can build it yourself. The ESP32-S2 has TensorFlow Lite Micro support, so you can include it in your MicroPython build, by:
Install the ESP-IDF (Espressif IoT Development Framework).
Install the required tools for building MicroPython (make, gcc, etc.).
Clone the MicroPython Repository:
Navigate to the ports/esp32 directory.
Edit the
mpconfigport.h
file to include TensorFlow Lite Micro support.
Build the firmware:
Use esptool.py
to flash the firmware onto your ESP32-S2
You can find detailed instructions in the MicroPython documentation and ESP-IDF documentation.Thanks , but how to modify
mpconfigport.h
to include TensorFlow Lite Micro support?