Skip to content

Commit 69de788

Browse files
authored
Merge pull request #3712 from JojoS62/enable-GCC_CR-in-memmap
add GCC_CR as toolchain for memmap
2 parents ff043cb + 649d8a1 commit 69de788

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
@@ -541,7 +541,7 @@ def generate_table(self, file_desc):
541541

542542
return output
543543

544-
toolchains = ["ARM", "ARM_STD", "ARM_MICRO", "GCC_ARM", "IAR"]
544+
toolchains = ["ARM", "ARM_STD", "ARM_MICRO", "GCC_ARM", "GCC_CR", "IAR"]
545545

546546
def compute_report(self):
547547
for k in self.sections:
@@ -596,7 +596,7 @@ def parse(self, mapfile, toolchain):
596596
toolchain == "ARM_MICRO":
597597
self.search_objects(os.path.abspath(mapfile))
598598
self.parse_map_file_armcc(file_input)
599-
elif toolchain == "GCC_ARM":
599+
elif toolchain == "GCC_ARM" or toolchain == "GCC_CR":
600600
self.parse_map_file_gcc(file_input)
601601
elif toolchain == "IAR":
602602
self.search_objects(os.path.abspath(mapfile))

0 commit comments

Comments
 (0)