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

Enable use of pins >32 on RP2350B #157

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

jepler
Copy link

@jepler jepler commented Dec 20, 2024

Tested on Adafruit Metro RP2350 prototype, which uses pins 32/33. Also requires some small changes to CircuitPython but never mind that :)

image

>>> import usb_host, board, digitalio, usb
>>> usb_host.Port(board.USB_HOST_DATA_PLUS, board.USB_HOST_DATA_MINUS)
>>> pwr = digitalio.DigitalInOut(board.USB_HOST_5V_POWER)
>>> pwr.switch_to_output(True)
>>> list(usb.core.find(find_all=True))
[<Device>]

ping @ladyada

Closes: #133

@jepler
Copy link
Author

jepler commented Dec 20, 2024

I'll update this branch and make it work with the CI. What SDK versions need to be supported? I think SDK 2.1.0 may be required for some of the APIs used, so I can make them conditional if necessary.

@jepler
Copy link
Author

jepler commented Dec 20, 2024

CI now runs against SDK 2.1.0 as well as older versions.

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.

🪲[BUG] GPIOs > 32 not working
1 participant