Skip to content

Port defaults to first available com port with lowest number not the last used #180

Closed
@toogooda

Description

@toogooda

Describe the bug
I accidentally selected the wrong com port (Bluetooth) not it always defaults to that com port. After every time it disconnects usb and reconnect it ignores the last working version and defaults to the incorrect one probably because it is a lower com port number. Also couldn't find a way to purge the list so it stops happening.

To Reproduce
Steps to reproduce the behavior:

  1. create any com port that is not an arduino (like bluetooth)
  2. select it with a board
  3. Now connect a real arduino with a com port that is a larger number
  4. Each time you disconnect it will go back to wrong com port.

Expected behavior
It will select the last working connection if it is available not the first one. Should also be an easy way to purge the saved combinations.

Screenshots
Capture

Desktop (please complete the following information):

  • Windows 10

Additional context
I constantly find it has failed to upload only to see it has reverted back again.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions