Skip to main content

esp32-arduino build instructions

We build our own custom version of esp32-arduino, in order to get some fixes we've made but haven't yet been merged in master.

These are a set of currently unformatted notes on how to build and install them. Most developers should not care about this, because you'll automatically get our fixed libraries.

//last EDF release in arduino is:<br/>
//IDF release/v3.3 46b12a560
//IDF release/v3.3 367c3c09c
python /home/kevinh/development/meshtastic/
cp -a out/tools/sdk/* components/arduino/tools/sdk
cp -ar components/arduino/* ~/.platformio/packages/framework-arduinoespressif32
/// @src-fba9d33740f719f712e9f8b07da6ea13/
cp -ar out/tools/sdk/* ~/.platformio/packages/framework-arduinoespressif32/tools/sdk

How to flash new bootloader --chip esp32 --port /dev/ttyUSB0 --baud 921600 --before default_reset --after hard_reset write_flash -z --flash_mode dout --flash_freq 40m --flash_size detect 0x1000 /home/kevinh/development/meshtastic/esp32-arduino-lib-builder/build/bootloader/bootloader.bin