diff --git a/vstruct/defs/ihex.py b/vstruct/defs/ihex.py index 0e3b4d9a9..6bec9c2a5 100644 --- a/vstruct/defs/ihex.py +++ b/vstruct/defs/ihex.py @@ -133,6 +133,9 @@ def getMemoryMaps(self): if ctype == IHEX_REC_EOF: break + if ctype == IHEX_REC_STARTLINADDR: + continue + raise Exception('Unhandled IHEX chunk: %s' % chunk.recordtype) memparts.sort()