#uf2 #rp2040 #pico

app uf2-util

A utility for generating an rp2040-compatible uf2 file

1 unstable release

0.1.0 Dec 16, 2023

#6 in #uf2

MIT license

11KB
171 lines

uf2-util

uf2-util is a small utility for generating .uf2 files. This program was designed specifically for the rp2040 and as such it assumes you have two separate binaries. A bootloader that is around 252 bytes, and then some much larger third-stage binary.

It will automatically calculate and incorporate the bootloader crc checksum into the generated uf2.

Installation

Use the cargo package manager to install uf2-util.

cargo install uf2-util

Usage

uf2-util --bootrom bootloader.bin --progdata app.bin --out app.uf2

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

MIT

Dependencies

~1.2–1.8MB
~33K SLoC