Skip to content

Releases: python-intelhex/intelhex

IntelHex 2.3.0

20 Oct 20:22
2.3.0
Compare
Choose a tag to compare
  • Add IntelHex.find() method to find a given byte pattern. (Scott Armitage)
  • API changes: 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)
  • API changes: IntelHex.tofile() now supports the optional byte_count
    parameter from IntelHex.write_hex_file(). Only used if format = hex.
    (Reis Baltaoglu)
  • Fix Python 3.9 compatibility issue with 'array' module (Piotr Korowacki)
  • Fix installation for Python version taking setup rather from setuptools than
    distutils (Theo Sbrissa)

IntelHex 2.2.1

30 Jan 06:03
Compare
Choose a tag to compare

Fixes for PyPI.

IntelHex 2.2

28 Jan 12:12
Compare
Choose a tag to compare

What's new in IntelHex 2.2 release.

Bugfixes

  • Better compatibility with Python 3. (Alexander Belchenko)
  • Script hexinfo.py: Python 3 compatibility for processing start address dict keys. (patch from GitHub user mentaal)
  • Unit tests: Fixed xrange overflow test for Python 2.7 on 64-bit platforms. Use sys.maxint to ensure we trigger an exception. (Masayuki Takeda)

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

  • Added get_memory_size() method: approx memory footprint of IntelHex object plus data. (Alexander Belchenko)

IntelHex 2.1

31 Mar 20:50
Compare
Choose a tag to compare

What's new in IntelHex 2.1 release.

Bugfixes

  • Better Python 3 compatibility when hex2bin.py and bin2hex.py scripts are trying to read/write binary data from stdin or to stdout. (GitHub issue #4)

New features

  • API changes: added IntelHex.segments() method that returns a list of ordered tuple objects, representing contiguous occupied data addresses. (Andrew Fernandes)
  • New command-line script hexinfo.py to print summary about hex files contents (file name, start address, address ranges covered by the data) in YAML format. (Andrew Fernandes)
  • API changes: IntelHex.dump() method gets new optional parameters: width, withpadding to control generation of output text. (patch from GitHub user durexyl)
  • Script hex2dump.py gets new option --width to support corresponding parameter in IntelHex.dump() method.

Misc

  • The main activity of the IntelHex project slowly drifting towards GitHub - the main social network for OSS developers. I'd really like to get some help from additional maintainer though.

IntelHex 2.0

31 Mar 20:55
Compare
Choose a tag to compare

Major improvements in IntelHex 2.0

  • The same codebase can be run on both Python 2 (2.4-2.7) and Python 3 (3.2+). No need to use 2to3.

Bugfixes

  • Python 3 compatibility: tobinstr should return bytes not unicode string (Launchpad Bug #1212698).
  • Python 2: better support for long int addresses (over 2GB) (Launchpad Bug #1408934)

Internals

  • compat.py: provide more helper functions and aliases to reduce changes required to convert python 2 compatible sources to python 3. The code becomes quite ugly, but such compatibility has its price.