Skip to content

Commit 649d8a1

Browse files
committed
add GCC_CR as toolchain for memmap
1 parent 65956d1 commit 649d8a1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/memap.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -538,7 +538,7 @@ def generate_table(self, file_desc):
538538

539539
return output
540540

541-
toolchains = ["ARM", "ARM_STD", "ARM_MICRO", "GCC_ARM", "IAR"]
541+
toolchains = ["ARM", "ARM_STD", "ARM_MICRO", "GCC_ARM", "GCC_CR", "IAR"]
542542

543543
def compute_report(self):
544544
for k in self.sections:
@@ -593,7 +593,7 @@ def parse(self, mapfile, toolchain):
593593
toolchain == "ARM_MICRO":
594594
self.search_objects(os.path.abspath(mapfile))
595595
self.parse_map_file_armcc(file_input)
596-
elif toolchain == "GCC_ARM":
596+
elif toolchain == "GCC_ARM" or toolchain == "GCC_CR":
597597
self.parse_map_file_gcc(file_input)
598598
elif toolchain == "IAR":
599599
self.search_objects(os.path.abspath(mapfile))

0 commit comments

Comments
 (0)