Home

Awesome

MicroPython Builder

This is a flake that knows how to build and flash MicroPython. It can either be invoked directly to build a basic firmware, or it can be used as an input flake and be used as a tool to build a custom firmware.

nix run github:jonahbron/micropython-builder#flash-esp32c3-generic

[!WARNING] Because a network connection is currently required to build firmware for ESP32 devices, flashing directly from the terminal will only work on non-x86_64 systems. You must create your own flake with your own sha256.

Builds fail without Internet access (IDFGH-12120) (PACMAN-808) #54

See examples directory or a real project for how to use this builder in your own flake. The examples are also a flake and can be run directly.

nix build ./examples#

Currently Supported Ports/Boards

[!NOTE] Contributions of other MicroPython ports/boards are extremely welcome!

TODO