Skip to content

Commit 5468cc6

Browse files
committed
[tools] Do not double count secure memories on ARMv8-M devices
1 parent 69fe002 commit 5468cc6

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

tools/modm_tools/size.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ def human_readable_format(num, unit='B'):
7070
def format(source, device_memories):
7171
memories = defaultdict(list)
7272
for memory in device_memories:
73+
if "alias" in memory: continue
7374
if "w" in memory["access"]:
7475
memories["ram"].append(memory)
7576
else:

0 commit comments

Comments
 (0)