Crate dfufile

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
CRC32 checksum calculation used in the file suffix.
dfuse
DfuSe extensions from STMicroelectronics.

Structs§

DfuFile
File handle
Suffix
File suffix containing the metadata.

Enums§

Content
File content variants.
Error
Parsing errors.

Constants§

SUFFIX_LENGTH
Length of the file suffix in bytes.