MicroPython toolchain for ESP32 microcontrollers
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
Lauri Võsandi bcee26a85b Use template for .drone.yml 3 weeks ago
.drone.yml Use template for .drone.yml 3 weeks ago
Dockerfile Clean up Dockerfile 2 months ago
README.md Clean up Dockerfile 2 months ago

README.md

This Docker image drastically simplifies building MicroPython binaries for ESP32 microcontrollers with frozen modules -- that is flashable MicroPython images that include your payload as bytecode so they're easy to deploy.

Place your source code under modules/ and the Docker image should pick them up and bundle them into the resulting firmware image placed under build/

docker run --rm -v $PWD/modules:/src/ports/esp32/modules -v $PWD/build:/build harbor.k-space.ee/k-space/micropython-esp32
esptool.py -p /dev/ttyUSB0 --chip esp32 -b 460800 write_flash -z 0x1000 build/firmware.bin

Currently stuck with MicroPytyhon 1.17 until this fix is included with 1.19+.