Python IntelHex library
IntelHex.find()
method to find a given byte pattern. (Scott Armitage)IntelHex.segments()
method supports new optional parameter
min_gap
to allow consolidation of segments with small but existing gaps
into a single segment. Default value is 1. (Ryan Downing)IntelHex.tofile()
now supports the optional byte_count
parameter from IntelHex.write_hex_file()
. Only used if format = hex
.
(Reis Baltaoglu)Fixes for PyPI.
What's new in IntelHex 2.2 release.
Bugfixes
hexinfo.py
: Python 3 compatibility for processing start address dict keys. (patch from GitHub user mentaal)API changes
IntelHex.write_hex_file
method: added support for new parameter: eolstyle = native | CRLF
. (Alexander Belchenko)IntelHex.write_hex_file()
method gets new optional parameter byte_count
to specify how many bytes should be written to each data record in output file. Default value is 16. (patch from GitHub user erki1993)New features
Major improvements in IntelHex 2.0
Bugfixes
Internals
What's new in IntelHex 2.1 release.
Bugfixes
hex2bin.py
and bin2hex.py
scripts are trying to read/write binary data from stdin or to stdout. (GitHub issue https://github.com/bialix/intelhex/issues/4)New features
IntelHex.segments()
method that returns a list of ordered tuple objects, representing contiguous occupied data addresses. (Andrew Fernandes)hexinfo.py
to print summary about hex files contents (file name, start address, address ranges covered by the data) in YAML format. (Andrew Fernandes)IntelHex.dump()
method gets new optional parameters: width
, withpadding
to control generation of output text. (patch from GitHub user durexyl)hex2dump.py
gets new option --width
to support corresponding parameter in IntelHex.dump()
method.Misc