elf2flash-core 0.0.2

The core library behind `elf2flash`, helps convert elf files to uf2 files
Documentation

Tool for going from elf to flashing a pico

cargo install elf2flash

Options

Usage: elf2flash [OPTIONS] <INPUT> [OUTPUT]

Arguments:
  <INPUT>   Input file
  [OUTPUT]  Output file

Options:
  -v, --verbose          Verbose
  -d, --deploy           Deploy to any connected pico
  -s, --serial           Connect to serial after deploy
  -t, --term             Send termination message (b"elf2flash-term\r\n") to the device on ctrl+c
  -f, --family <FAMILY>  Select family ID for UF2. See https://github.com/microsoft/uf2/blob/master/utils/uf2families.json for list
  -h, --help             Print help
  -V, --version          Print version

Why this project instead of elf2uf2?

This project fixes some issues of elf2uf2-rs (#36, #38, #40, #41, #42), provides a library for programmatic use (elf2flash-core), and .

Credits

A large amount of thanks for JoNil, amazing library elf2uf2, which this project largely shares codebases.