diff --git a/platformio/builder/scripts/intel_arc32.py b/platformio/builder/scripts/intel_arc32.py index 385f2598ec..e5db85d8df 100644 --- a/platformio/builder/scripts/intel_arc32.py +++ b/platformio/builder/scripts/intel_arc32.py @@ -112,7 +112,8 @@ def BeforeUpload(target, source, env): # pylint: disable=W0613,W0621 SIZEPRINTCMD='"$SIZETOOL" -B -d $SOURCES', UPLOADER=join("$PIOPACKAGES_DIR", "tool-arduino101load", "arduino101load"), - UPLOADCMD='"$UPLOADER" $BUILD_DIR $SOURCES $UPLOADERFLAGS verbose', + DFUUTIL=join("$PIOPACKAGES_DIR", "tool-arduino101load", "dfu-util"), + UPLOADCMD='"$UPLOADER" $DFUUTIL $SOURCES $UPLOADERFLAGS verbose', PROGNAME="firmware", PROGSUFFIX=".elf"