Skip to content

Commit

Permalink
Add missing upload flag for uploadfsota target (#314)
Browse files Browse the repository at this point in the history
Fixes #263
  • Loading branch information
Jason2866 authored Jan 22, 2024
1 parent d6e84b9 commit 6d98803
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion builder/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ def get_esptoolpy_reset_flags(resetmethod):
UPLOADERFLAGS=["--debug", "--progress", "-i", "$UPLOAD_PORT"],
UPLOADCMD='"$PYTHONEXE" "$UPLOADER" $UPLOADERFLAGS -f $SOURCE'
)
if "uploadfs" in COMMAND_LINE_TARGETS:
if set(["uploadfs", "uploadfsota"]) & set(COMMAND_LINE_TARGETS):
env.Append(UPLOADERFLAGS=["-s"])
upload_actions = [env.VerboseAction("$UPLOADCMD", "Uploading $SOURCE")]

Expand Down

0 comments on commit 6d98803

Please sign in to comment.