tinygo icon indicating copy to clipboard operation
tinygo copied to clipboard

all: improve selection of serial ports for flash and monitor

Open kenbell opened this issue 2 years ago • 2 comments
trafficstars

2nd attempt at fixing #3637

This time, I've reworked the code to:

  1. discover ports so that the separation of 'possible list of ports' and 'previously selected port' is clearer.
  2. be explicit about how the code works to identify the 'best' port based on user parameters, VID:PID pairs, etc
  3. made the concept of 'retrying' serial port discovery more explicit

kenbell avatar Apr 26 '23 19:04 kenbell

This change needs some time to soak in dev before a release since it affects multiple platforms and is very subject to difference in performance of MCUs and host PCs.

kenbell avatar Apr 26 '23 21:04 kenbell

@kenbell now that we are into the next development cycle, what is the status of this PR?

deadprogram avatar Jul 03 '23 09:07 deadprogram