esp-rs / espflash

Serial flasher utility for Espressif SoCs and modules based on esptool.py
Apache License 2.0
455 stars 110 forks source link

Serial port selection provides too many options, some of which are invalid #575

Closed jessebraham closed 4 months ago

jessebraham commented 5 months ago

Previously we filtered the available serial ports to only those which looked like ESP devices. This was changed to display all devices, however, due to reports from some users that not all ports were listed on some Linux distributions. However, as a result of this change there are too many ports listed on other OSs (like macOS), many of which are not flashable in any way.

I would like to see us go back to filtering serial ports, and maybe we can have an option to list everything using a flag and/or environment variable instead.