From 1ea5afdd653bf488fc66440b648fa1cbdb813e2e Mon Sep 17 00:00:00 2001 From: Valerii Koval Date: Mon, 21 May 2018 22:08:26 +0300 Subject: [PATCH] Add custom UPLOADCMD command for SPIFFS // Issue #62 --- builder/main.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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"])