Skip to content

Any plans for RP2350 support? #255

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

Closed
matsobdev opened this issue Sep 22, 2024 · 7 comments
Closed

Any plans for RP2350 support? #255

matsobdev opened this issue Sep 22, 2024 · 7 comments

Comments

@matsobdev
Copy link

Same as title.

@sakumisu
Copy link
Collaborator

Sorry, no plan for rp series, you can use tinyusb instead.

@matsobdev
Copy link
Author

matsobdev commented Jan 12, 2025

Actually it is working with RP2350. Just required registers configuration change - pulling from SDK for RP2350. Interrupts reconfiguration was mandatory as well. At least tested version 0.10.2 and HID keyboard/mouse.

@sidd-kishan
Copy link

@matsobdev Please share your changes I can port it to the latest version

@matsobdev
Copy link
Author

matsobdev commented Jan 12, 2025

Tested with SDK 1.5.1 and 2.1.0. I guess it might work with latest release right of the bat, but tried first with safe bet.
RP2350_changes.zip

PS. ARM is working, RISCV is not. If I did __riscv definition right, there is still something more to it.
PS2. It works as well with 1.4.2 version of CherryUSB (and not with RISCV xD): RP2350_changes_1.4.2.zip. Then busid is hardcoded 0, for example:

usbd_ep_start_write(0, HID_INT_EP, raport, 6);

and reg_base - USBCTRL_REGS_BASE from Pico SDK:

hid_keyboard_init(0, USBCTRL_REGS_BASE);

PS3. I'm not sure about USBCTRL_REGS_BASE - other garbage works as well.

@sakumisu
Copy link
Collaborator

Tested with SDK 1.5.1 and 2.1.0. I guess it might work with latest release right of the bat, but tried first with safe bet. RP2350_changes.zip

PS. ARM is working, RISCV is not. If I did __riscv definition right, there is still something more to it. PS2. It works as well with 1.4.2 version of CherryUSB (and not with RISCV xD): RP2350_changes_1.4.2.zip. Then busid is hardcoded 0, for example:

usbd_ep_start_write(0, HID_INT_EP, raport, 6);

and reg_base - USBCTRL_REGS_BASE from Pico SDK:

hid_keyboard_init(0, USBCTRL_REGS_BASE);

PS3. I'm not sure about USBCTRL_REGS_BASE - other garbage works as well.

Thanks, pico official contacts with me and we will restart pico support now.

@sakumisu
Copy link
Collaborator

@matsobdev Please share your changes I can port it to the latest version

Thank you also.

@matsobdev
Copy link
Author

Good news to hear that. I saw some movements in raspberrypi/pico-sdk#1057.

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

No branches or pull requests

3 participants