Skip to content

Commit 98172af

Browse files
Support setting upload speed for ESP32 (#39)
The ESP32 seems to have changed their internal menu names, so add in the new one for the uploadSpeed(baud) setting. Fixes #38
1 parent 24d14ba commit 98172af

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "arduino-littlefs-upload",
33
"displayName": "arduino-littlefs-upload",
44
"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",
5-
"version": "1.1.7",
5+
"version": "1.1.8",
66
"engines": {
77
"vscode": "^1.82.0"
88
},

src/extension.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ export function activate(context: vscode.ExtensionContext) {
290290
}
291291
}
292292
});
293-
} else if (String(opt.option) === "baud") {
293+
} else if ((String(opt.option) === "baud") || (String(opt.option) === "UploadSpeed")) {
294294
opt.values.forEach( (itm) => {
295295
if (itm.selected) {
296296
uploadSpeed = Number(itm.value);

0 commit comments

Comments
 (0)