@@ -110,13 +110,21 @@ def main():
110
110
default = False ,
111
111
help = "Verbose diagnostic output" )
112
112
113
+ parser .add_argument ("--silent" ,
114
+ action = "store_true" ,
115
+ dest = "silent" ,
116
+ default = False ,
117
+ help = "Silent diagnostic output (no copy, compile notification)" )
118
+
113
119
parser .add_argument ("--stats-depth" ,
114
120
type = int ,
115
121
dest = "stats_depth" ,
116
122
default = 2 ,
117
123
help = "Depth level for static memory report" )
124
+
118
125
parser .add_argument ("--ignore" , dest = "ignore" , type = argparse_many (str ),
119
126
default = None , help = "Comma separated list of patterns to add to mbedignore (eg. ./main.cpp)" )
127
+
120
128
parser .add_argument ("--icetea" ,
121
129
action = "store_true" ,
122
130
dest = "icetea" ,
@@ -243,7 +251,7 @@ def main():
243
251
)
244
252
245
253
# Build sources
246
- notify = TerminalNotifier (options .verbose )
254
+ notify = TerminalNotifier (options .verbose , options . silent )
247
255
build_library (base_source_paths , options .build_dir , mcu ,
248
256
toolchain_name , jobs = options .jobs ,
249
257
clean = options .clean , report = build_report ,
@@ -279,7 +287,7 @@ def main():
279
287
resource_filter = None
280
288
281
289
# Build all the tests
282
- notify = TerminalNotifier (options .verbose )
290
+ notify = TerminalNotifier (options .verbose , options . silent )
283
291
test_build_success , test_build = build_tests (
284
292
tests ,
285
293
[os .path .relpath (options .build_dir )],
0 commit comments