We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 12ffe07 commit a5def1aCopy full SHA for a5def1a
esptool/__init__.py
@@ -1006,7 +1006,14 @@ def get_port_list():
1006
"Please try to specify the port when running esptool.py or update "
1007
"the pyserial package to the latest version"
1008
)
1009
- return sorted(ports.device for ports in list_ports.comports())
+ port_list = sorted(ports.device for ports in list_ports.comports())
1010
+ if sys.platform == "darwin":
1011
+ port_list = [
1012
+ port
1013
+ for port in port_list
1014
+ if not port.endswith(("Bluetooth-Incoming-Port", "wlan-debug"))
1015
+ ]
1016
+ return port_list
1017
1018
1019
def expand_file_arguments(argv):
0 commit comments