This project is to fulfill the Final Project requirements for the University of London BSc Computer Science course.
Deploy to ESP32 (taken from https://github.com/espressif/esp-tflite-micro)
The following instructions will help you build and deploy this sample to ESP32 devices using the ESP IDF.
The sample has been tested on ESP-IDF version release/v5.1.2
with the following devices:
- LilyGo T-Camera-Plus
Follow the instructions of the ESP-IDF get started guide to setup the toolchain and the ESP-IDF itself.
The next steps assume that the IDF environment variables are set :
- The
IDF_PATH
environment variable is set idf.py
and Xtensa-esp32 tools (e.g.xtensa-esp32-elf-gcc
) are in$PATH
This example requires an external component esp32-camera
which is the submodule of the example.
If you have not cloned current repo with --recursive
option, please use git submodule update
to get it cloned.
Set the chip target (For esp32s3 target, IDF version release/v4.4
is needed):
idf.py set-target esp32
Then build with idf.py
idf.py build
To flash (replace /dev/ttyUSB0
with the device serial port):
idf.py --port /dev/ttyUSB0 flash
Monitor the serial output:
idf.py --port /dev/ttyUSB0 monitor
Use Ctrl+]
to exit.
The previous two commands can be combined:
idf.py --port /dev/ttyUSB0 flash monitor