Skip to content

Conversation

Neradoc
Copy link

@Neradoc Neradoc commented May 21, 2025

Fixes #10360 by enabling USB host on the USB host pads.
I did not enable it by default in board.c, maybe it should be like it is on the teensy 4.1 ?

Thanks @todbot for testing.

Test code:

import time, board
import usb, usb_host

port = usb_host.Port(board.USB_HOST_DP, board.USB_HOST_DM)

while True:
    for device in usb.core.find(find_all=True):
        print(device.product, device.manufacturer, hex(device.idProduct), hex(device.idVendor), time.monotonic())
    time.sleep(0.5)

Copy link
Collaborator

@dhalbert dhalbert left a comment

Choose a reason for hiding this comment

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

Thanks!

@dhalbert dhalbert merged commit af8de21 into adafruit:main May 23, 2025
16 checks passed
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.

USB Host Libraries Missing from Teensy 4.0 CircuitPython Builds
2 participants