[1]

Development on Mac

Install Prerequisites

brew install cmake ninja dfu-util

Get ESP-IDF

See https://idf.espressif.com/ for links to detailed instructions on how to set up the ESP-IDF depending on chip you use.

  • Standard Toolchain Setup for Linux and macOS[2]
  • vscode extension[3]

Need to install esp-idf

mkdir -p ~/esp
cd ~/esp
git clone --recursive https://github.com/espressif/esp-idf.git

Aside from the ESP-IDF, you also need to install the tools used by ESP-IDF, such as the compiler, debugger, Python packages, etc, for projects supporting ESP32.

cd ~/esp/esp-idf
./install.sh esp32s3

Vscode extension