Skip to content

Commit 830fe76

Browse files
committed
Refresh serial port list after loading contributed packages
Soves nameless boards if contributed cores loading is slow
1 parent b8f3d2d commit 830fe76

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

arduino-core/src/processing/app/BaseNoGui.java

+4-1
Original file line numberDiff line numberDiff line change
@@ -409,7 +409,10 @@ static public void init(String[] args) throws Exception {
409409
}
410410

411411
BaseNoGui.initPackages();
412-
412+
413+
// refresh the serial port names after loading all packages
414+
BaseNoGui.getDiscoveryManager().getSerialDiscoverer().forceRefresh();
415+
413416
// Setup board-dependent variables.
414417
onBoardOrPortChange();
415418

0 commit comments

Comments
 (0)