Skip to content

Commit 85e33b4

Browse files
committed
Eliminate silent option from build_project
It's now all handled by the notifier
1 parent 56ec467 commit 85e33b4

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

tools/build_api.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -484,7 +484,7 @@ def scan_resources(src_paths, toolchain, dependencies_paths=None,
484484
return resources
485485

486486
def build_project(src_paths, build_path, target, toolchain_name,
487-
libraries_paths=None, linker_script=None, clean=False, silent=False,
487+
libraries_paths=None, linker_script=None, clean=False,
488488
notify=None, name=None, macros=None, inc_dirs=None, jobs=1,
489489
report=None, properties=None, project_id=None,
490490
project_description=None, config=None,
@@ -583,9 +583,7 @@ def build_project(src_paths, build_path, target, toolchain_name,
583583
if memap_instance:
584584
# Write output to stdout in text (pretty table) format
585585
memap_table = memap_instance.generate_output('table', stats_depth)
586-
587-
if not silent:
588-
print(memap_table)
586+
notify.info(memap_table)
589587

590588
# Write output to file in JSON format
591589
map_out = join(build_path, name + "_map.json")

tools/make.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,6 @@
276276
linker_script=options.linker_script,
277277
clean=options.clean,
278278
notify=notify,
279-
silent=options.silent,
280279
report=build_data_blob,
281280
macros=options.macros,
282281
jobs=options.jobs,

0 commit comments

Comments
 (0)