Releases: vitalyvb/usbd-dfu
Releases · vitalyvb/usbd-dfu
v0.4.0
Breaking Changes
usb-device
dependency updated to 0.3.2. No API changes inusbd-dfu
, however, there may be type compatibility issues if anything else depends onusb-device
0.2.x
Changed
- Created CREDITS.md
- Updated README.md and copyright notice in LICENSE file
- Remove dev-dependency on stm32f1xx-hal
v0.3.1
v0.3.0
Breaking Changes
- Behavior change: use
DFUMemIO::TRANSFER_SIZE
instead of a request length
for address computation in Download and Upload commands. If Host programmer
is using smaller block sizes, uploads and downloads will be corrupted.
Fixed
- Fixed programming error because of incorrect memory address calculation
when writing the last and short block of the firmware without SetAddressPointer
command (#6)
Changed
- Rust edition set to 2021
usb-device
dependency updated to 0.2.9- Documentation of
DFUMemIO::TRANSFER_SIZE
v0.2.0
Breaking Changes
-
Rename parts of the
DFUMemIO
API to remove confusing block/page terminology. (#4):DFUMemIO::PAGE_PROGRAM_TIME_MS
toDFUMemIO::PROGRAM_TIME_MS
DFUMemIO::PAGE_ERASE_TIME_MS
toDFUMemIO::ERASE_TIME_MS
DFUMemIO::read_block()
toDFUMemIO::read()
DFUMemIO::erase_block()
toDFUMemIO::erase()
DFUMemIO::erase_all_blocks()
toDFUMemIO::erase_all()
DFUMemIO::program_block()
toDFUMemIO::program()
-
Rename
Command::EraseBlock
toCommand::Erase
. (#4)
Fixed
- Some Clippy warnings
v0.1.1
Added
- CI using GitHub Actions
Fixed
DFUManifestationError::File
error status incorrectly returnederrTarget
to hostDFUManifestationError::Target
error status incorrectly returnederrFile
to host- Clippy errors and some warnings
Changed
- Code formatting to follow rustfmt
- Clarified the behavior of
DFUMemIO::usb_reset
in the documentation - Documentation updates