From 6d98803d709ed1ae5c722b106cf401c7311482d7 Mon Sep 17 00:00:00 2001 From: Jason2866 <24528715+Jason2866@users.noreply.github.com> Date: Mon, 22 Jan 2024 12:56:59 +0100 Subject: [PATCH] Add missing upload flag for uploadfsota target (#314) Fixes #263 --- builder/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builder/main.py b/builder/main.py index fa32383..e7c4dfe 100644 --- a/builder/main.py +++ b/builder/main.py @@ -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")]