annotate python/tests/ppcitest.py @ 124:d38729d35c4d stm32f4discovery flash with python

New implementation of hexfile viewer
author Windel Bouwman
date Sat, 12 Jan 2013 15:43:10 +0100
parents fe145e42259d
children
rev   line source
94
1be00bcfaabb Last parts before movage
windel
parents:
diff changeset
1
1be00bcfaabb Last parts before movage
windel
parents:
diff changeset
2 from core import BitReader
1be00bcfaabb Last parts before movage
windel
parents:
diff changeset
3
1be00bcfaabb Last parts before movage
windel
parents:
diff changeset
4 with open('main.s.bc', 'rb') as f:
1be00bcfaabb Last parts before movage
windel
parents:
diff changeset
5 br = BitReader(f)
1be00bcfaabb Last parts before movage
windel
parents:
diff changeset
6 br.parseModule()
1be00bcfaabb Last parts before movage
windel
parents:
diff changeset
7 print(br)
1be00bcfaabb Last parts before movage
windel
parents:
diff changeset
8