Releases: bessman/mcbootflash
Releases · bessman/mcbootflash
v7.0.0
v6.1.0
API changes
- Added function mcbootflash.protocol.get_response to read response packets from serial
in a more robust way. - Packet.from_serial is deprecated in favor of get_response.
Bug fixes
- Fixed an off-by-one error which skipped the final word within program memory range.
- Added a workaround for a bug in the bootloader where checksum calculation would fail
close to the upper end of program memory range (fix #13).
v6.0.0
Dependency changes:
progressbar2
is now optional (fix #11).
API changes:
- The signature of mcbootflash.Bootloader.flash has changed. The
quiet
option is
removed, and a newprogress_callback
option is added.
CLI changes:
- Added
--version
option to display mcbootflash version string. - If
progressbar2
is not installed, the script falls back on displaying the progress
as just a percentage.
Bug fixes:
- All data within program memory range is now flashed. Previously, data which was part
of a contiguous block of data was ignored if any part of the block did not fit within
the program memory range (fix #9).
v5.1.2b1
v5.1.1
v5.1.0
Version 5.0.0
API changes:
- Simplify exceptions; Rename McbootflashException to
BootloaderError and remove all derived exceptions except
those that directly correspond to an error code. - Simplify protocol names (modules are not namespaces).
- Rename BootloaderConnection to Bootloader and reduce code
duplication.
Misc:
- Use pytest-reserial for testing.
Version 4.1.0
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
Version 3.0.0
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.