Skip to content
This repository was archived by the owner on Oct 1, 2024. It is now read-only.

Commit e56d411

Browse files
authored
My (probably) fix for uploading with programmer
This is my fix for "Error: Can only pass one of: --upload, --verify, --get-pref, --install-boards, --version, --install-library" error. I had the same issue as in #1234 (xD)
1 parent 096fecb commit e56d411

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/arduino/arduino.ts

+1-4
Original file line numberDiff line numberDiff line change
@@ -599,13 +599,10 @@ export class ArduinoApp {
599599
} else {
600600
args.push("--upload",
601601
"--useprogrammer",
602-
"--pref", `programmer=arduino:${programmer}`);
602+
"--pref", `programmer=${programmer}`);
603603
}
604604

605605
args.push("--port", dc.port);
606-
if (!this.useArduinoCli()) {
607-
args.push("--verify");
608-
}
609606
} else if (buildMode === BuildMode.CliUploadProgrammer) {
610607
const programmer = this.programmerManager.currentProgrammer;
611608
if (!programmer) {

0 commit comments

Comments
 (0)