Skip to content

Commit 1bb0fbe

Browse files
committed
Control verbose output for uploading
1 parent 5292ca4 commit 1bb0fbe

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

builder/main.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,6 @@ def _get_board_f_flash(env):
122122
UPLOADEROTA=join("$FRAMEWORK_ARDUINOESP8266_DIR", "tools", "espota.py"),
123123

124124
UPLOADERFLAGS=[
125-
"-vv",
126125
"-cd", "$UPLOAD_RESETMETHOD",
127126
"-cb", "$UPLOAD_SPEED",
128127
"-cp", '"$UPLOAD_PORT"'
@@ -152,6 +151,9 @@ def _get_board_f_flash(env):
152151
ASFLAGS=env.get("CCFLAGS", [])[:]
153152
)
154153

154+
if not env.GetOption("silent"):
155+
env.Prepend(UPLOADERFLAGS=["-vv"])
156+
155157

156158
#
157159
# SPIFFS

0 commit comments

Comments
 (0)