Skip to content

Releases: bessman/mcbootflash

Version 4.1.0

19 Jul 18:50
Compare
Choose a tag to compare

Most notable addition is documentation. Couple of minor API changes, hence major version bump.

API changes:

  • BootloaderConnection.flash will always raise an exception if flashing did not succeed.
  • 'quiet' is now a parameter of BootloaderConnection.flash instead of BootloaderConnection itself.

Documentation

  • Added documentation.
  • Added readthedocs.

Misc:

  • Added codacy badges.

rtdtest

20 Jul 13:13
Compare
Choose a tag to compare
rtdtest Pre-release
Pre-release

Test, do not use.

Version 3.0.0

11 Jul 18:59
Compare
Choose a tag to compare

API is now stable.

Features:

  • By default, a progress bar is now shown while flashing. Suppress with --quiet flag.
  • Command line arguments can now be overriden by applications using mcbootflash as a library. See the get_parser function for more information.

API changes:

  • flash.py -> flashing.py
  • BootResponseCode --> BootResponse
  • FLASH_UNLOCK_KEY removed from API.
  • BootloaderConnection.{quiet, hexfile} removed from API.
  • BootloaderConnection.erase_flash added to API.
  • Exceptions have changed significantly. See error.py for more information.

Under the hood:

  • Major testing overhaul: Tests now use recorded serial traffic to verify behavior.
  • Switch to flit build system.
  • Enforce alphabetically sorted imports with isort.
  • Enable docstring linting.
  • Application code now lives in src/
  • Lots of changes to logging messages.

Version 2.0.0

12 Jun 20:37
Compare
Choose a tag to compare

CLI is ready and tested. API is still a work in progress.

Features:

  • Public interface available directly via __init__.py.
  • Add ChecksumPacket class.
  • Add reset command.
  • Improve CLI help message.
  • Improve package metadata.
  • Reworked exceptions to more closely match those thrown by the bootloader.

Bug fixes:

  • Off-by-one error when firmware uses all available space.

Under the hood:

  • Add tests.
  • Add linters.
  • Add CI via Github Actions.

Version 1.0.0

28 May 10:04
Compare
Choose a tag to compare

First release. Features:

  • Flash firmware to target on command line.