add GCC_CR as toolchain for memmap

pull/3712/head
JojoS 2017-02-07 15:05:32 +01:00
parent 65956d108e
commit 649d8a1d15
1 changed files with 2 additions and 2 deletions

View File

@ -538,7 +538,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:
@ -593,7 +593,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))