Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 2b18d1f

Browse files
committed
Merge remote-tracking branch 'arduino/master'
2 parents 63fc618 + 643f847 commit 2b18d1f

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

‎arduino-core/src/cc/arduino/packages/uploaders/SerialUploader.java‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,13 @@ public boolean uploadUsingPreferences(File sourcePath, String buildPath, String
177177
Thread.sleep(100);
178178
}
179179

180+
BoardPort boardPort = BaseNoGui.getDiscoveryManager().find(PreferencesData.get("serial.port"));
181+
try {
182+
prefs.put("serial.port.iserial", boardPort.getPrefs().getOrExcept("iserial"));
183+
} catch (Exception e) {
184+
// if serial port does not contain an iserial field
185+
}
186+
180187
prefs.put("build.path", buildPath);
181188
prefs.put("build.project_name", className);
182189
if (verbose) {

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /