- Run the docker container
docker run -it --rm -v {your micropython repo dir}:/root/micropython robbietree/esp32-build-docker:0.0.7
- build MicroPython
cd /root
sh clean-build-esp32.sh
- find the combined firmware bin
ls /root/micropython/ports/esp32/build-GENERIC_C3/firmware.bin
- upload to board
esptool.py \
--chip esp32c3 \
--port /dev/cu.usbserial-1420 \
--baud 460800 \
write_flash --flash_size=detect -fm dio 0 firmware.bin
- test board
You can refer readme from original repo