Skip to content

Commit d50139c

Browse files
Marcelo SalazarMarcelo Salazar
authored andcommitted
Minor tweaks
1 parent fbd8a41 commit d50139c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tools/memap.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# pylint: disable=too-many-arguments, too-many-locals, too-many-branches, too-many-lines, line-too-long, too-many-nested-blocks, too-many-public-methods, too-many-instance-attributes
33
# pylint: disable=invalid-name, missing-docstring
44

5-
# Memory Map File Analyser for ARM mbed OS
5+
# Memory Map File Analyser for ARM mbed
66

77
import sys
88
import os
@@ -317,7 +317,7 @@ def search_objects(self, path, toolchain):
317317
if test_rex:
318318
search_path = test_rex.group(1) + toolchain + '/mbed-os/'
319319
else:
320-
# It looks this is not an mbed OS project
320+
# It looks this is not an mbed project
321321
# object-to-module mapping cannot be generated
322322
print "Warning: specified toolchain doesn't match with path to the memory map file."
323323
return
@@ -454,7 +454,7 @@ def generate_output(self, export_format, file_output=None):
454454
file_desc.write("Allocated Heap: unknown\n")
455455
else:
456456
file_desc.write("Allocated Heap: %s bytes\n" % str(subtotal['.heap']))
457-
457+
458458
if subtotal['.stack'] == 0:
459459
file_desc.write("Allocated Stack: unknown\n")
460460
else:
@@ -500,7 +500,7 @@ def main():
500500
version = '0.3.11'
501501

502502
# Parser handling
503-
parser = argparse.ArgumentParser(description="Memory Map File Analyser for ARM mbed OS\nversion %s" % version)
503+
parser = argparse.ArgumentParser(description="Memory Map File Analyser for ARM mbed\nversion %s" % version)
504504

505505
parser.add_argument('file', help='memory map file')
506506

0 commit comments

Comments
 (0)