Skip to content

Commit 211c662

Browse files
author
Cruz Monrreal
authored
Merge pull request #8980 from kjbracey-arm/iar8_memap
memap.py: Cope with IAR 8 linker map
2 parents ea4a8e4 + 983d0d4 commit 211c662

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/memap.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ def parse_mapfile(self, file_desc):
304304
class _IarParser(_Parser):
305305
RE = re.compile(
306306
r'^\s+(.+)\s+(zero|const|ro code|inited|uninit)\s'
307-
r'+0x(\w{8})\s+0x(\w+)\s+(.+)\s.+$')
307+
r'+0x([\'\w]+)\s+0x(\w+)\s+(.+)\s.+$')
308308

309309
RE_CMDLINE_FILE = re.compile(r'^#\s+(.+\.o)')
310310
RE_LIBRARY = re.compile(r'^(.+\.a)\:.+$')

0 commit comments

Comments
 (0)