Skip to content

Commit c69e77c

Browse files
fix arm compiler static ram memory statistics
don't count ARM_LIB_HEAP in static RAM pool
1 parent 3d038e5 commit c69e77c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tools/memap.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,10 @@ def parse_section(self, line):
280280
""" # noqa: E501
281281
test_re = re.match(self.RE, line)
282282

283-
if test_re:
283+
if (
284+
test_re
285+
and "ARM_LIB_HEAP" not in line
286+
):
284287
size = int(test_re.group(2), 16)
285288

286289
if test_re.group(4) == 'RO':

0 commit comments

Comments
 (0)