Docker image built on top of espressif/idf with xtensa toolchain, ESP_IDF, and few additional tools:
- xtensa toolchain (2019; crosstool-NG esp-2019r2; 8.2.0)
- esptool.py (v2.9-dev)
- make (v4.1)
- cmake (v3.10.2)
DockerHub: https://hub.docker.com/r/lpodkalicki/esp32-toolchain
git clone [email protected]:lpodkalicki/esp32-toolchain-docker.git
cd esp32-toolchain
docker build --rm -t lpodkalicki/esp32-toolchain:latest .
docker run --rm --privileged -v $(pwd):/build lpodkalicki/esp32-toolchain xtensa-esp32-elf-gcc --version
Bellow you can find recommended simple one-line installer that pulls the newest docker-image and installs esp32-toolchain script into "/usr/bin/" directory.
curl https://raw.githubusercontent.com/lpodkalicki/esp32-toolchain-docker/master/install.sh | bash -s --
- Install toolchain using recommended simple one-line installer.
- Use super command esp32-toolchain for all toolchain binaries.
- Execute toolchain binaries inside your working/project directory.
$ cd your-project/
$ esp8266-toolchain idf.py build
$ esp8266-toolchain idf.py flash
$ esp8266-toolchain idf.py monitor
$ esp8266-toolchain xtensa-esp32-elf-gcc --version
$ esp8266-toolchain make -version
$ esp8266-toolchain cmake -version
$ esp8266-toolchain make menuconfig
$ esp8266-toolchain make && make flash monitor