Updated port discovery to support unknown boards

From now on, we do not retrieve the ports from the attached boards.
A board can be unknown but the port is still relevant.

Signed-off-by: Akos Kitta <kittaakos@typefox.io>
This commit is contained in:
Akos Kitta
2019-10-23 17:47:20 +02:00
parent 8971dc4c5f
commit 4353bfb5b9
12 changed files with 316 additions and 86 deletions

View File

@@ -268,7 +268,7 @@ export class MonitorWidget extends ReactWidget implements StatefulWidget {
return {
baudRate,
board: selectedBoard,
port: selectedPort
port: selectedPort.address
}
}