Merge pull request #12462 from maciejbocianski/fix_armc_memory_stats

Fix static ram memory statistics for arm compiler
pull/12473/head
Martin Kojtal 2020-02-19 13:01:26 +00:00 committed by GitHub
commit 589a9a4d16
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions

View File

@ -280,7 +280,10 @@ class _ArmccParser(_Parser):
""" # noqa: E501
test_re = re.match(self.RE, line)
if test_re:
if (
test_re
and "ARM_LIB_HEAP" not in line
):
size = int(test_re.group(2), 16)
if test_re.group(4) == 'RO':