comparison python/hexfile.py @ 240:6259856841a0

Remove project
author Windel Bouwman
date Mon, 22 Jul 2013 22:37:33 +0200
parents d3dccf12ca88
children 58155c7c4a8e
comparison
equal deleted inserted replaced
239:63bb40758066 240:6259856841a0
19 return (address, typ, data) 19 return (address, typ, data)
20 20
21 21
22 class HexFile: 22 class HexFile:
23 """ Represents an intel hexfile """ 23 """ Represents an intel hexfile """
24 def __init__(self, filename=None): 24 def __init__(self):
25 self.regions = [] 25 self.regions = []
26 self.startAddress = 0 26 self.startAddress = 0
27 27
28 def load(self, f): 28 def load(self, f):
29 endOfFile = False 29 endOfFile = False
30 offset = 0 30 offset = 0
31 startAddress = 0 31 startAddress = 0