Skip to content

Commit

Permalink
check for uploadfs or uploadfsota for FS OTA upload
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason2866 authored Jan 21, 2024
1 parent dd6f5af commit bef9f9d
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 @@ -305,7 +305,7 @@ def get_esptoolpy_reset_flags(resetmethod):
UPLOADERFLAGS=["--debug", "--progress", "-i", "$UPLOAD_PORT"],
UPLOADCMD='"$PYTHONEXE" "$UPLOADER" $UPLOADERFLAGS -f $SOURCE'
)
if "uploadfsota" 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 bef9f9d

Please sign in to comment.