Crate dfufile

source ·
Expand description

This crate offers tools for processing DFU files as described in the document “Universal Serial Bus Device Class Specification for Device Firmware Upgrade”, Revision 1.1 published at https://usb.org

It also supports the extensions added by STMicroelectronics (DfuSe) that are widely used with STM32 microcontrollers, as well as several other products.

Modules

CRC32 checksum calculation used in the file suffix.
DfuSe extensions from STMicroelectronics.

Structs

File handle
File suffix containing the metadata.

Enums

File content variants.
Parsing errors.

Constants

Length of the file suffix in bytes.