Build a MicroPython image for ESP32 using Docker.
Run docker pull murilopolese/micropython-esp32
.
- Clone this repository
- Run
docker build -t micropython-esp32 .
That will create a local image named micropython-esp32
Run docker run -v $(pwd)/build:/micropython/ports/esp32/build murilopolese/micropython-esp32
if you pulled the image from Dockerhub.
Otherwise run docker run -v $(pwd)/build:/micropython/ports/esp32/build micropython-esp32
.
This will create a folder named build
with all the build files. The image will be at build/firmware.bin
.