Merge pull request #3712 from JojoS62/enable-GCC_CR-in-memmap

add GCC_CR as toolchain for memmap
pull/3798/head
Sam Grove 2017-02-17 09:11:22 -06:00 committed by GitHub
commit 69de788f94
1 changed files with 2 additions and 2 deletions

View File

@ -541,7 +541,7 @@ class MemapParser(object):
return output
toolchains = ["ARM", "ARM_STD", "ARM_MICRO", "GCC_ARM", "IAR"]
toolchains = ["ARM", "ARM_STD", "ARM_MICRO", "GCC_ARM", "GCC_CR", "IAR"]
def compute_report(self):
for k in self.sections:
@ -596,7 +596,7 @@ class MemapParser(object):
toolchain == "ARM_MICRO":
self.search_objects(os.path.abspath(mapfile))
self.parse_map_file_armcc(file_input)
elif toolchain == "GCC_ARM":
elif toolchain == "GCC_ARM" or toolchain == "GCC_CR":
self.parse_map_file_gcc(file_input)
elif toolchain == "IAR":
self.search_objects(os.path.abspath(mapfile))