Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove /dev/tty.Bluetooth-Incoming-Port from serial port list in idf.py and esptool.py on macOS (IDFGH-13111) #14058

Closed
3 tasks done
clashman opened this issue Jun 23, 2024 · 1 comment
Labels
Status: In Progress Work is in progress

Comments

@clashman
Copy link

clashman commented Jun 23, 2024

Answers checklist.

  • I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
  • I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
  • I have searched the issue tracker for a similar issue and not found a similar issue.

General issue report

MacOS has a default serial port at /dev/cu.Bluetooth-Incoming-Port.

It would be nice if esptool.py and idf.py would not try to connect to this port if no others are found.

i.e. in for idf.py command (tools/idf_py_actions/tools.py:131):
ports = list(sorted(p.device for p in serial.tools.list_ports.comports() if not 'Bluetooth-Incoming-Port' in p.device))

@espressif-bot espressif-bot added the Status: Opened Issue is new label Jun 23, 2024
@github-actions github-actions bot changed the title Remove /dev/tty.Bluetooth-Incoming-Port from serial port list in idf.py and esptool.py on macOS Remove /dev/tty.Bluetooth-Incoming-Port from serial port list in idf.py and esptool.py on macOS (IDFGH-13111) Jun 23, 2024
@espressif-bot espressif-bot added Status: Selected for Development Issue is selected for development Status: In Progress Work is in progress and removed Status: Opened Issue is new Status: Selected for Development Issue is selected for development labels Jun 24, 2024
@radimkarnis
Copy link
Collaborator

Hi @clashman,
I agree, this can be very annoying. We'll filter out the Bluetooth-Incoming-Port and wlan-debug ports in our tools!

espressif-bot pushed a commit to espressif/esptool that referenced this issue Jun 27, 2024
peterdragun pushed a commit to peterdragun/esptool that referenced this issue Jul 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: In Progress Work is in progress
Projects
None yet
Development

No branches or pull requests

3 participants