All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Migrate to
usbd-class-tester
crate for tests
0.4.0 - 2024-03-09
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
- Created CREDITS.md
- Updated README.md and copyright notice in LICENSE file
- Remove dev-dependency on stm32f1xx-hal
0.3.1 - 2023-05-06
- New
DFUClass::release()
to consume class and release owned memory argument. (#9)
0.3.0 - 2023-03-18
- Behavior change: use
DFUMemIO::TRANSFER_SIZE
instead of a request length for address compuration in Download and Upload commands. If Host programmer is using smaller block sizes, uploads and downloads will be corrupted.
- Fixed programming error because of incorrect memory address calculation when writing the last and short block of the firmware without SetAddressPointer command (#6)
- Rust edition set to 2021
usb-device
dependency updated to 0.2.9- Documentation of
DFUMemIO::TRANSFER_SIZE
0.2.0 - 2021-08-08
-
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)
- Some Clippy warnings
0.1.1 - 2021-05-15
- CI using GitHub Actions
DFUManifestationError::File
error status incorrectly returnederrTarget
to hostDFUManifestationError::Target
error status incorrectly returnederrFile
to host- Clippy errors and some warnings
- Code formatting to follow rustfmt
- Clarified the behavior of
DFUMemIO::usb_reset
in the documentation - Documentation updates
0.1.0 - 2021-04-16
First version.