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>
Sun, 24 Mar 2013 22:32:39 +0000 (15:32 -0700)
commit0d8d882d9aab09b7346e3ea748f270154556cf33
tree4cdffdf1515e6357471f10f8dfe413f132ec4253
parentdab354fe3060c4630f7843065295357f17e94aab
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