fix arm compiler static ram memory statistics

don't count ARM_LIB_HEAP in static RAM pool

Original Mbed OS PR[#1256](https://github.com/ARMmbed/mbed-os/pull/1246)

(cherry picked from commit c69e77cf54)
Signed-off-by: Janne Kiiskila <janne.kiiskila@arm.com>
pull/12933/head
Maciej Bocianski 2020-02-19 08:15:00 +01:00 committed by Janne Kiiskila
parent b6370b4c37
commit 6e8db4f963
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':