Skip to content

Commit 02e3790

Browse files
authored
use esptool as default for uploader
to avoid issues when env debug setups are not completely correct done.
1 parent 7a4e454 commit 02e3790

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

builder/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -677,7 +677,7 @@ def firmware_metrics(target, source, env):
677677
)
678678

679679
# Target: Upload firmware or FS image
680-
upload_protocol = env.subst("$UPLOAD_PROTOCOL")
680+
upload_protocol = env.subst("$UPLOAD_PROTOCOL") or "esptool"
681681
debug_tools = board.get("debug.tools", {})
682682
upload_actions = []
683683

0 commit comments

Comments
 (0)