- Clarify
self_verify
docstring (fc8d16b
)
9.0.1 - 2024-05-14
- Make minor improvements to CLI output (
fb17948
)
- Update README to reflect changes made in v9.0.0 (
e6dc42c
)
9.0.0 - 2024-05-13
- Disable checksumming by default in CLI, enable with
--checksum
flag (b685bb5
) - Unconditionally erase before flashing with CLI (
9a4ddc6
)
- Add CLI flag
--reset
to reset device after flashing (e38cefb
)
- Breaking: Remove
.has_checksum
attribute ofBootAttrs
(b685bb5
)
8.0.2 - 2024-05-11
- Continue with warning on
BadAddress
during checksum (b8734ea
)
8.0.1 - 2024-02-08
- Bump development status trove classifier: Beta -> Stable (
418142e
) - Begin argument descriptions with lowercase letter (
103a331
)
- Fix
chunked
missing from API reference (a276764
)
8.0.0 - 2023-11-09
- Breaking: Renamed
connection.py
toflash.py
(3319508
) - Breaking: Renamed
protocol.py
totypes.py
(4d73ca0
) - Renamed
file
argument to CLI tohexfile
(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
)
- 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
)
- 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
)
7.0.6 - 2023-11-01
- Reformat changelog per Common Changelog style (
6447957
)
7.0.5 - 2023-10-31
Maintanence release.
- Update developer guide
- Use bincopy for alignment of first and final chunks in each segment
- Use
__version__
string in sphinxconf.py
- Narrow mypy import ignores
- Update readthedocs python to 3.11
- Use python3.12 instead of python3.12-dev in github-actions
7.0.4 - 2023-10-07
- Align all write commands with
write_size
(#21)
7.0.3 - 2023-09-26
- Write the final two words of the program memory range (#19)
7.0.0 - 2023-09-23
- Change HEX file parser from intelhex to bincopy
- Improve error handling and debug logging
- Breaking: Remove
get_response
- Don't checksum if bootloader doesn't support it (#16)
6.1.0 - 2023-09-15
- Deprecate
Packet.from_serial
in favor ofget_response
- Add function
mcbootflash.protocol.get_response
- Fix an off-by-one error which skipped the final word within program memory range
- Skip checksum calculation close to the upper end of program memory range (#13)
6.0.0 - 2023-09-13
- Make
progressbar2
optional (#11) - Display progress as a percentage value if
progressbar2
is not installed
- Add parameter
progress_callback
tomcbootflash.Bootloader.flash
- Add
--version
option to display mcbootflash version string
- Breaking: Remove parameter
quiet
frommcbootflash.Bootloader.flash
- Flash all data within program memory range (#9)
5.1.1 - 2023-04-26
- Increase timeout during flash erase (#6)
5.1.0 - 2023-01-13
- Fix some minor docstring mistakes
- Improve error message when receiving unexpected data
- Re-add some logging messages that were removed by mistake
- Add build status badge
5.0.0 - 2022-11-29
- Breaking: Rename McbootflashException to BootloaderError
- Breaking: Simplify protocol names (modules are not namespaces)
- Breaking: Rename BootloaderConnection to Bootloader
- Use pytest-reserial for testing
- Breaking: Remove several custom exceptions
- Fix final chunk not being written in certain situations
- Fix minor errors in console output
4.1.0 - 2022-07-19
- Add documentation
- Add readthedocs
- Add codacy badges
- Breaking: Move
quiet
parameter toBootloaderConnection.flash
- Raise exception from BootloaderConnection.flash if flashing did not succeed
3.0.0 - 2022-07-11
- Breaking: Rename
flash.py
->flashing.py
- Breaking: Rename
BootResponseCode
->BootResponse
- Breaking: Refactor exceptions
- Use recorded serial traffic to verify behavior
- Move application code to src/
- Switch to flit build system
- Enable docstring linting
- Enforce alphabetically sorted imports with isort
- Change lots of logging messages
- Add progress bar while flashing. Suppress with
--quiet
flag - Allow overriding CLI arguments
- Add
BootloaderConnection.erase_flash
- Breaking: Remove
FLASH_UNLOCK_KEY
- Breaking: Remove
BootloaderConnection.{quiet, hexfile}
2.0.0 - 2022-06-12
- Improve CLI help message
- Improve package metadata
- Reworke exceptions to more closely match those thrown by the bootloader
- Add public interface to
__init__.py
- Add
ChecksumPacket
class - Add
reset
command - Add tests
- Add linters
- Add CI via Github Actions
- Fix off-by-one error when firmware uses all available space
1.0.0 - 2022-05-27
Initial release.