Skip to content

Latest commit

 

History

History
87 lines (65 loc) · 3.03 KB

CHANGELOG.md

File metadata and controls

87 lines (65 loc) · 3.03 KB

Changelog

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.

Changed

  • Migrate to usbd-class-tester crate for tests

0.4.0 - 2024-03-09

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

0.3.1 - 2023-05-06

Added

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

0.3.0 - 2023-03-18

Breaking Changes

  • 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

  • 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

0.2.0 - 2021-08-08

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

0.1.1 - 2021-05-15

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

0.1.0 - 2021-04-16

First version.