#dfu

dfu-libusb

Implementation of DFU using libusb and dfu-core

8 releases (4 breaking)

0.5.2 Oct 14, 2024
0.5.1 May 13, 2023
0.5.0 Mar 4, 2023
0.3.1 Nov 4, 2022
0.0.0 May 31, 2021

#1 in #dfu

Download history 678/week @ 2024-07-03 838/week @ 2024-07-10 1423/week @ 2024-07-17 832/week @ 2024-07-24 1031/week @ 2024-07-31 984/week @ 2024-08-07 1116/week @ 2024-08-14 1098/week @ 2024-08-21 718/week @ 2024-08-28 1441/week @ 2024-09-04 892/week @ 2024-09-11 984/week @ 2024-09-18 997/week @ 2024-09-25 1205/week @ 2024-10-02 2013/week @ 2024-10-09 1741/week @ 2024-10-16

6,147 downloads per month
Used in 4 crates

MIT/Apache

11KB
196 lines

Rust Latest Version License Docs.rs LOC Dependency Status

dfu-libusb

Implementation of DFU using libusb and dfu-core.

Library

You can use this crate as a library to your projects. It depends on dfu-core for the actual DFU implementation and on rusb for the libusb Rust wrapper library.

CLI

You can use this crate as a CLI:

cargo install --features cli dfu-libusb

This will install a binary dfu to your cargo binary PATH which you can use to write firmwares to your devices.

Please run dfu --help for more information about how to use it.

License

MIT OR Apache-2.0

Dependencies

~1.7–2.5MB
~53K SLoC