Skip to content

Conversation

tannewt
Copy link
Member

@tannewt tannewt commented Jul 10, 2023

Connects up read, write and ctrl_transfer to TinyUSB. USB Host support is available on iMX RT and RP2040.

Fixes #6527 (imx) and fixes #5986 (rp2).

Connects up read, write and ctrl_transfer to TinyUSB. USB Host
support is available on iMX RT and RP2040.

Fixes micropython#6527 (imx) and fixes micropython#5986 (rp2).
@tannewt tannewt requested a review from jepler July 10, 2023 21:38
Copy link

@jepler jepler left a comment

Choose a reason for hiding this comment

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

one or two things that look fishy. but overall it looks fine and it looks like low chances of adversely affecting anything non-usb-hosty

@tannewt tannewt requested a review from jepler July 10, 2023 23:08
Copy link

@jepler jepler left a comment

Choose a reason for hiding this comment

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

thank you!

@tannewt tannewt merged commit 7764cde into adafruit:main Jul 11, 2023
@SunboX
Copy link

SunboX commented Jul 28, 2023

Hi, that's great! Is there any example how to read a connected keyboard to an RP2040 board?

@tannewt
Copy link
Member Author

tannewt commented Jul 28, 2023

Keyboards are treated specially by CircuitPython. It should automatically read the keyboard and convert keypresses into a serial stream. Then, you can do input() like you normally would.

You can also detach CircuitPython from the keyboard and manage it yourself. However, I haven't tested that thoroughly yet.

@p3lim p3lim mentioned this pull request Oct 8, 2024
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 implementation on teensy 4.1 Support USB host (rp2)
3 participants