Skip to content

Releases: vitalyvb/usbd-dfu

v0.4.0

09 Mar 17:47
aaaaf07
Compare
Choose a tag to compare

Breaking Changes

  • usb-device dependency updated to 0.3.2. No API changes in usbd-dfu, however, there may be type compatibility issues if anything else depends on usb-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

06 May 18:47
7ec46e2
Compare
Choose a tag to compare

Added

  • New DFUClass::release() to consume class and release owned memory argument. (#9)

v0.3.0

18 Mar 19:33
099c188
Compare
Choose a tag to compare

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

08 Aug 13:38
467214b
Compare
Choose a tag to compare

Breaking Changes

  • Rename parts of the DFUMemIO API to remove confusing block/page terminology. (#4):

    • DFUMemIO::PAGE_PROGRAM_TIME_MS to DFUMemIO::PROGRAM_TIME_MS
    • DFUMemIO::PAGE_ERASE_TIME_MS to DFUMemIO::ERASE_TIME_MS
    • DFUMemIO::read_block() to DFUMemIO::read()
    • DFUMemIO::erase_block() to DFUMemIO::erase()
    • DFUMemIO::erase_all_blocks() to DFUMemIO::erase_all()
    • DFUMemIO::program_block() to DFUMemIO::program()
  • Rename Command::EraseBlock to Command::Erase. (#4)

Fixed

  • Some Clippy warnings

v0.1.1

15 May 13:49
49a1a2b
Compare
Choose a tag to compare

Added

  • CI using GitHub Actions

Fixed

  • DFUManifestationError::File error status incorrectly returned errTarget to host
  • DFUManifestationError::Target error status incorrectly returned errFile 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