Skip to content

Releases: bessman/mcbootflash

9.0.1

14 May 07:06
Compare
Choose a tag to compare

Changed

  • Make minor improvements to CLI output (fb17948)

Fixed

  • Update README to reflect changes made in v9.0.0 (e6dc42c)

9.0.0

13 May 20:05
Compare
Choose a tag to compare

Changed

  • Disable checksumming by default in CLI, enable with --checksum flag (b685bb5)
  • Unconditionally erase before flashing with CLI (9a4ddc6)

Added

  • Add CLI flag --reset to reset device after flashing (e38cefb)

Removed

  • Breaking: Remove .has_checksum attribute of BootAttrs (b685bb5)

Fixed

  • Fix error messages not being shown in CLI (c499eb9)
  • Fix wrong pad value in chunked (58ad227)

8.0.2

11 May 15:52
Compare
Choose a tag to compare

Fixed

  • Continue with warning on BadAddress during checksum (b8734ea)

8.0.1

08 Feb 11:50
Compare
Choose a tag to compare

Changed

  • Bump development status trove classifier: Beta -> Stable (418142e)
  • Begin argument descriptions with lowercase letter (103a331)

Fixed

  • Fix chunked missing from API reference (a276764)

8.0.0 - 2023-11-09

09 Nov 22:11
Compare
Choose a tag to compare

Changed

  • Breaking: Renamed connection.py to flash.py (3319508)
  • Breaking: Renamed protocol.py to types.py (4d73ca0)
  • Renamed file argument to CLI to hexfile (5a0d612)
  • Replace sphinx with mkdocs (4a9e854)
  • Split tox.ini from pyproject.toml to separate file (08ef0ed)
  • Use from __future__ import annotations (04ed4f9)
  • Improve CI time by not installing in environments that don't need it (6d381ee)

Added

  • Add BootAttrs dataclass for holding bootloader attributes (afcfa08)
  • Add Chunk protocol for data which is to be written to flash (afcfa08)
  • Add Connection protocol for objects which provide a connection to a device in bootloader mode (afcfa08)
  • Add get_boot_attrs function to read bootloader attributes (3319508)
  • Add chunked to load and split HEX file into aligend chunks (afcfa08)
  • Add erase_flash to erase program memory range (3319508)
  • Add write_flash to write firmware chunks to flash (3319508)
  • Add checksum to compare local and remote data (3319508)
  • Add self_verify to detect installed application on device (3319508)
  • Add reset to reset device (3319508)
  • Add github pages (f02b7c6)
  • Start using ruff for linting (82e1a95)

Removed

  • Breaking: Remove flashing.py (969d110)
  • Breaking: Remove mcbootflash.get_parser (969d110)
  • Breaking: Remove mcbootflash.flash (969d110)
  • Breaking: Remove mcbootflash.Bootloader (3319508)
  • Breaking: Remove mcbootflash.protocol.Packet.from_serial (f5cb75c)
  • Stop using prospector for linting (eed8b6a)
  • Stop using readthedocs (f4a128d)

v7.0.6

01 Nov 21:48
Compare
Choose a tag to compare

7.0.6 - 2023-11-01

Changed

  • Reformat changelog per Common Changelog style

Fixed

  • Actually use bincopy for alignment (#25)

v7.0.5

31 Oct 14:20
Compare
Choose a tag to compare

Documentation and maintenance release.

Documentation

  • Update developer guide.

Maintenance

  • Use bincopy for alignment of first and final chunks in each segment.
  • Use version string in sphinx conf.py.
  • Narrow mypy import ignores.
  • Update readthedocs python to 3.11.
  • Use python3.12 instead of python3.12-dev in github-actions.

v7.0.4

07 Oct 15:37
Compare
Choose a tag to compare

Bug fixes

  • Ensure all write commands are aligned with write_size (fix #21).

v7.0.3

26 Sep 08:57
Compare
Choose a tag to compare

Bug fixes

  • The final two words of the program memory range were not written (fix #19).

v7.0.1

23 Sep 20:03
Compare
Choose a tag to compare

Temporarily downgrade a dependency.