ESP-IDF

Run the Vertices SDK on the ESP32 using the ESP-IDF build system.

The Espressif documentation is great to get started. We advise you to read it if you are not familiar with the ESP-IDF. If you've got any issue setting up the example, the solution can probably be found in the ESP-IDF documentation.

Below is a summary.

Install ESP-IDF

git clone --recursive https://github.com/espressif/esp-idf.git
cd esp-idf
./install.sh
. export.sh
idf.py set-target esp32

Sourcing export.sh will set important environment variables that will be used when compiling the example. Make sure to use the same terminal window afterwards.

Compile the example

Go to examples/esp32 and run:

idf.py build

Flash onto the Device

From examples/esp32, run:

idf.py [-p PORT] flash

Monitor

Print the logs:

Last updated

Was this helpful?