diff --git a/builder/main.py b/builder/main.py index ba0b5cb..380abd7 100644 --- a/builder/main.py +++ b/builder/main.py @@ -264,7 +264,8 @@ if upload_protocol == "esptool": "--flash_mode", "$BOARD_FLASH_MODE", "--flash_size", "detect", "${int(SPIFFS_START, 16)}" - ] + ], + UPLOADCMD='"$PYTHONEXE" "$UPLOADER" $UPLOADERFLAGS $SOURCE', ) env.Append(UPLOADEROTAFLAGS=["-s"])