elf2uf2-rs
« Back to VersTracker
Description:
Convert ELF files to UF2 for USB Flashing Bootloaders
Type: Formula  |  Latest Version: 2.2.0@0  |  Tracked Since: Dec 17, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: embedded firmware rust conversion microcontroller uf2
Install: brew install elf2uf2-rs
About:
elf2uf2-rs is a utility that converts standard ELF binaries into the UF2 format, which is required by USB Flashing Bootloaders commonly found on microcontrollers like Raspberry Pi Pico. It enables developers to flash compiled Rust or C/C++ applications directly via a USB mass storage interface without needing specialized debug probes.
Key Features:
  • High-performance conversion written in Rust
  • Supports standard ELF to UF2 format transformation
  • Compatible with USB Flashing Bootloaders (UFB)
  • Command-line interface for automation
Use Cases:
  • Flashing compiled Rust firmware to Raspberry Pi Pico
  • Converting ELF binaries for microcontrollers using UF2 bootloaders
  • CI/CD pipeline integration for embedded firmware deployment
Alternatives:
  • elf2uf2 (Python) – Original Python implementation; Rust version offers better performance and binary size
  • picotool – Raspberry Pi Pico SDK tool with broader features; elf2uf2-rs is more lightweight and focused
License: 0BSD
Dependencies: systemd
Bottles available for: arm64_tahoe, arm64_sequoia, arm64_sonoma, sonoma, arm64_linux, x86_64_linux
Version History
Detected Version Rev Change Commit
Sep 13, 2025 4:30pm 0 VERSION_BUMP ee75f123