ao-tools/lib: Add loading support for 32-bit ihx files
authorKeith Packard <keithp@keithp.com>
Sun, 24 Mar 2013 22:30:24 +0000 (15:30 -0700)
committerKeith Packard <keithp@keithp.com>
Wed, 8 May 2013 03:16:52 +0000 (20:16 -0700)
commit1f30b1f14dbab6e6ea94177e459c80732e31e433
treef348ec2ef70b862a9563e0d33f4215516fcc858c
parent7d98fc5d3f106f3063608a2e5c69d9359061437a
ao-tools/lib: Add loading support for 32-bit ihx files

These place the upper 16 bits of the address in a special record. That
requires handling records in file order, so don't sort them in address
order anymore, instead find the bounds of the loaded data by scanning
them all.

Signed-off-by: Keith Packard <keithp@keithp.com>
ao-tools/lib/ccdbg-hex.c
ao-tools/lib/ccdbg.h