Skip to content

Conversation

@dhalbert
Copy link
Collaborator

@dhalbert dhalbert commented Mar 11, 2021

After some internal discussion, we have decided to disable usb_cdc by default for now. It will still be available to be turned on in a custom build. Several users found it interfered with their existing workflow because there were now two devices to choose from for the REPL. Normally the devices are assigned REPL first, but on Windows, a lower-numbered COMnn device may be reused for the second CDC if it is free.

CIRCUITPY_USB_CDC may be re-enabled in a custom build: https://learn.adafruit.com/building-circuitpython/customizing-usb-devices

In 7.x, we hope to be able to allow this feature to be turned on and off in boot.py.

Fixes #4364.

@dhalbert dhalbert requested review from ladyada and tannewt March 11, 2021 16:26
Copy link
Member

@ladyada ladyada left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tested with feather 2040 - used to hvae two com ports. now has one!

@dhalbert dhalbert merged commit 3b948b2 into adafruit:main Mar 11, 2021
@dhalbert dhalbert deleted the disable-default-usb_cdc branch March 11, 2021 17:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

multiple serial ports mounted from usb_cdc breaks REPL auto connect scripts (6.2.0 beta 3)

2 participants