idfhack/README.md
2025-07-06 13:14:48 +02:00

1.2 KiB

Building

  1. Install the ESP-IDF toolchain (See: Toolchain section)
  2. Source the environment source ~/esp/esp-idf/export.sh (yes i know)
  3. idf.py build
  4. idf.py flash

A makefile is provided to somewhat remedy this madness.

Toolchain

See: Standard Toolchain Setup for Linux

From the official docs, essentially:

mkdir -p ~/esp
cd ~/esp
git clone -b v5.4.2 --recursive https://github.com/espressif/esp-idf.git
cd ~/esp/esp-idf
./install.sh esp32 # This is the arch for our mcu (esp-wroom-32)

For qemu: (The environment needs to be sourced)

python $IDF_PATH/tools/idf_tools.py install qemu-xtensa

Help and Resources