To simplify building the firmware, with all its dependencies, we use the Platform.io open source ecosystem. Make sure you have Platform.io installed on your computer before you proceed.
Connect a micro-USB cable between your computer and the ESP32 microcontroller, run the following command in the root folder of this project to compile and upload the software to the ESP32:
platformio run -t upload
If your computer is stuck waiting on the following line:
Serial port /dev/ttyUSB0
and eventually timing out, then you need to press the "flash"-button on the ESP32 for 2-3 seconds when waiting on those lines to initialize the flashing-process!
xtensa-esp32-elf-addr2line -pfiaC -e build/PROJECT.elf ADDRESS