Skip to content

8.0.0 - 2023-11-09

Compare
Choose a tag to compare
@bessman bessman released this 09 Nov 22:11
· 57 commits to main since this release

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)