🍺 BREW Explorer

← all formulae

elf2uf2-rs

brew install elf2uf2-rs v2.2.0 0BSD

Convert ELF files to UF2 for USB Flashing Bootloaders

8
30-day installs · #9426
28
90-day · #8889
184
365-day · #7572
133
★ GitHub stars · updated 5mo ago

Build dependencies

Links

Raw metadata
{
  "aliases": [],
  "alternatives": [],
  "build_dependencies": [
    "rust"
  ],
  "categories": [],
  "caveats": null,
  "conflicts_with": [],
  "dependencies": [],
  "deprecated": 0,
  "deprecation_reason": null,
  "desc": "Convert ELF files to UF2 for USB Flashing Bootloaders",
  "disable_reason": null,
  "disabled": 0,
  "enrichment_fetched_at": "2026-06-20T23:37:17+00:00",
  "first_seen": "2026-06-20T23:34:18+00:00",
  "full_name": "elf2uf2-rs",
  "github_default_branch": "master",
  "github_last_commit_at": "2026-03-10T21:48:51Z",
  "github_readme_excerpt": "# elf2uf2-rs\n\nA tool for converting ELF binaries into UF2 format and flashing them to a microcontroller (RP2040, RP2350, etc.) and other supported boards.\n\n```bash\ncargo install elf2uf2-rs\n```\n\n## Options\n\nThese are the following options for elf2uf2-rs:\n\n```\nUsage: elf2uf2-rs [OPTIONS] [COMMAND]\n\nCommands:\n  convert  Convert ELF to UF2 file on disk\n  deploy   Deploy ELF directly to a connected board\n  help     Print this message or the help of the given subcommand(s)\n\nOptions:\n  -v, --verbose \u003cVERBOSE\u003e  Set the logging verbosity [default: info] [possible values: off, error, warn, info, debug, trace]\n  -h, --help               Print help\n  -V, --version            Print version\n```\n\n### Deploying\n\nThese are the following options for deploying to a microcontroller with elf2uf2-rs:\n\n```\nUsage: elf2uf2-rs deploy [OPTIONS] \u003cINPUT\u003e\n\nArguments:\n  \u003cINPUT\u003e  Input ELF file\n\nOptions:\n  -f, --family \u003cFAMILY\u003e    Select family short name for UF2 [default: rp2040] [possible values: rp2040, rp2xxx-absolute, rp2xxx-data, rp2350-arm-s, rp2350-riscv, rp2350-arm-ns]\n  -v, --verbose \u003cVERBOSE\u003e  Set the logging verbosity [default: info] [possible values: off, error, warn, info, debug, trace]\n  -s, --serial             Connect to serial after deploy\n  -t, --term               Send termination message on Ctrl+C\n  -h, --help               Print help (see more with \u0027--help\u0027)\n```\n\n### Deploy for any project\n\nYou can deploy to a microcontroller with elf2uf2-rs by running the following command:\n\n```bash\nelf2uf2-rs deploy --family rp2040 firmware.elf\n```\n\n## Usage\n\nTo make your Rust project automatically flash the microcontroller whenever you run `cargo run`, add this to your `.cargo/config.toml`.\n\n```toml\n[target.\u0027cfg(all(target_arch = \"arm\", target_os = \"none\"))\u0027]\nrunner = \"elf2uf2-rs deploy -t -s\"\n# runner = \"elf2uf2-rs deploy -t -s --family rp2350-arm-s\" # Pico 2 / Cortex-M23/M33\n\n[build]\n# target = \"thumbv6m-none-eabi\" # Pico 1 / Cortex-M0/M0+\ntarget = \"thumbv8m.main-none-eabihf\" # Pico 2 / ",
  "github_repo": "JoNil/elf2uf2-rs",
  "github_stars": 133,
  "github_topics": [],
  "homepage": "https://github.com/JoNil/elf2uf2-rs",
  "homepage_og_description": null,
  "homepage_og_image": null,
  "homepage_title": null,
  "installs_30d": 8,
  "installs_365d": 184,
  "installs_90d": 28,
  "keg_only": 0,
  "keg_only_reason": null,
  "last_seen": "2026-06-20T23:34:18+00:00",
  "license": "0BSD",
  "llm_generated_at": null,
  "llm_model": null,
  "name": "elf2uf2-rs",
  "oldnames": [],
  "one_liner": null,
  "optional_dependencies": [],
  "rank_30d": 9426,
  "rank_365d": 7572,
  "rank_90d": 8889,
  "raw_hash": "4c42b298220ab1af",
  "recommended_dependencies": [],
  "revision": 0,
  "ruby_source_path": "Formula/e/elf2uf2-rs.rb",
  "tap": "homebrew/core",
  "test_dependencies": [],
  "uses_from_macos": [],
  "version_head": null,
  "version_stable": "2.2.0",
  "versioned_formulae": [],
  "why_use_this": null
}