Skip to content

Latest commit

 

History

History
25 lines (15 loc) · 890 Bytes

firmware.md

File metadata and controls

25 lines (15 loc) · 890 Bytes

Build and upload firmware

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.

Compile and upload the Liam-ESP application

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!

Debugging and faultfinding

Error decoding

xtensa-esp32-elf-addr2line -pfiaC -e build/PROJECT.elf ADDRESS