8000 Enable USB host on teensy 4.0 (bottom pads) by Neradoc · Pull Request #10367 · adafruit/circuitpython · GitHub
[go: up one dir, main page]

Skip to content

Enable USB host on teensy 4.0 (bottom pads) #10367

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

Merged
merged 1 commit into from
May 23, 2025

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
0