Skip to content

Commit

Permalink
Support setting upload speed for ESP32 (#39)
Browse files Browse the repository at this point in the history
The ESP32 seems to have changed their internal menu names, so add in the
new one for the uploadSpeed(baud) setting.

Fixes #38
  • Loading branch information
earlephilhower authored Jun 8, 2024
1 parent 24d14ba commit 98172af
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
Binary file not shown.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "arduino-littlefs-upload",
"displayName": "arduino-littlefs-upload",
"description": "Build and uploads LittleFS filesystems for the Arduino-Pico RP2040 core, ESP8266 core, or ESP32 core under Arduino IDE 2.2.1 or higher",
"version": "1.1.7",
"version": "1.1.8",
"engines": {
"vscode": "^1.82.0"
},
Expand Down
2 changes: 1 addition & 1 deletion src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ export function activate(context: vscode.ExtensionContext) {
}
}
});
} else if (String(opt.option) === "baud") {
} else if ((String(opt.option) === "baud") || (String(opt.option) === "UploadSpeed")) {
opt.values.forEach( (itm) => {
if (itm.selected) {
uploadSpeed = Number(itm.value);
Expand Down

0 comments on commit 98172af

Please sign in to comment.