Skip to content

3. Setting Up the Development Environment

Achim Pieters edited this page Oct 17, 2024 · 1 revision

Install Docker

  1. Download Docker Desktop: Visit the Docker website and download Docker Desktop for Mac.
  2. Install Docker: Follow the on-screen installation instructions.
  3. Create a Docker Account: Register on Docker Hub if you haven't already.
  4. Launch Docker and Sign In: Open Docker Desktop and sign in with your Docker Hub credentials.

Install ESP-IDF

  1. Open Terminal: Navigate to Applications > Utilities and open Terminal.
  2. Pull the Latest ESP-IDF Docker Image:
docker pull espressif/idf:latest
  1. Verify the Image: Open Docker Dashboard to confirm the espressif/idf:latest image is listed.

Install Python 3 and PIP

  1. Check for Existing Python Installation:
python3 --version
  1. Install Xcode Command Line Tools:
xcode-select --install
  1. Install Homebrew:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
  1. Update Homebrew:
brew update
  1. Install Python 3:
brew install python3
  1. Verify Python Installation:
python3 --version
  1. Install PIP:
python3 -m ensurepip

Install esptool.py

  1. Install esptool.py Using PIP:
pip3 install esptool
  1. Verify esptool.py Installation:
esptool.py --version