Skip to content

Commit 1e66d57

Browse files
committed
Fix serial upload not working with all boards
1 parent b4d5e78 commit 1e66d57

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: arduino-ide-extension/src/browser/contributions/upload-sketch.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ export class UploadSketch extends SketchContribution {
233233
const { selectedPort } = boardsConfig;
234234
const port = selectedPort;
235235
const userFields = this.cachedUserFields.get(this.selectedFqbnAddress());
236-
if (!userFields) {
236+
if (!userFields && this.boardRequiresUserFields) {
237237
this.messageService.error(nls.localize('arduino/sketch/userFieldsNotFoundError', "Can't find user fields for connected board"));
238238
return;
239239
}

0 commit comments

Comments
 (0)