mirror of https://github.com/ARMmbed/mbed-os.git
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
parent
b6370b4c37
commit
6e8db4f963
|
@ -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':
|
||||
|
|
Loading…
Reference in New Issue