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

[Feature Request] Support for Raspberry Pi Pico #11649

Closed
ryanm101 opened this issue Jan 21, 2021 · 30 comments
Closed

[Feature Request] Support for Raspberry Pi Pico #11649

ryanm101 opened this issue Jan 21, 2021 · 30 comments

Comments

@ryanm101
Copy link
Contributor

https://www.raspberrypi.org/blog/raspberry-pi-silicon-pico-now-on-sale/

Would be nice to support this device as an alternative to arduino

@dsalaj
Copy link

dsalaj commented Jan 21, 2021

I would very much like that feature too.

@fauxpark
Copy link
Member

Please see this page for information on adding support for a new MCU family: https://docs.qmk.fm/#/platformdev_selecting_arm_mcu?id=add-new-mcu-family

In short, it is non-trivial, and would require someone to commit to maintenance of the code in ChibiOS.

@leo60228
Copy link

leo60228 commented May 9, 2021

The Pico has support in core ChibiOS now.

@tzarc
Copy link
Member

tzarc commented May 9, 2021

No USB support, though.

@siddacious
Copy link

I'll take a look at this; I just got some rp2040 pro micros that I'm itching to use

@hanya
Copy link

hanya commented Sep 21, 2021

We have USB driver in ChibiOS-Contrib now.

@tzarc tzarc linked a pull request Sep 21, 2021 that will close this issue
14 tasks
@Agilulfo
Copy link

Agilulfo commented Nov 6, 2021

#14208 was recently merged.
Does it mean that this issue is now solved? 😄

@rhruiz
Copy link
Contributor

rhruiz commented Nov 6, 2021

They seem to have merged 20.3 in not 21.6. And 20.3 does not seem to have RP2040 support yet, can anyone confirm that?

@tzarc
Copy link
Member

tzarc commented Nov 6, 2021

21.6.x was canceled by ChibiOS itself.
This PR has to wait for 21.11.x to get released, and due to the timing will not make this breaking changes cycle.

@gompa
Copy link

gompa commented Nov 8, 2021

21.6.x was canceled by ChibiOS itself. This PR has to wait for 21.11.x to get released, and due to the timing will not make this breaking changes cycle.

i think 21.11.x released on the 7th
https://forum.chibios.org/viewtopic.php?f=7&t=5963

@tzarc
Copy link
Member

tzarc commented Nov 8, 2021

It's a release candidate.

image

@tzarc
Copy link
Member

tzarc commented Nov 8, 2021

Also, ChibiOS-Contrib is not yet tracking 21.11.x, so there's no path for upgrade regardless.

@charlie-hotel
Copy link

Looks like 21.1.1 is out now.

@tzarc
Copy link
Member

tzarc commented Dec 12, 2021

Looks like 21.1.1 is out now.

Of ChibiOS, yes. Of ChibiOS-Contrib, no.

@hamano
Copy link

hamano commented Dec 20, 2021

I was waiting rp2040 support for ChibiOS as well as you.
Now, I question the necessity of ChibiOS support, since I found sekigon's branch that works very well with rp2040.
https://github.com/sekigon-gonnoc/qmk_firmware/tree/rp2040

You can try keyboards/rp2040_example and keyboards/rp2040_split with rp2040.
It works with pico-sdk, and the split keyboards communicate using PIO.
As you may know, the biggest advantage of Pico is PIO. Is it possible to use PIO on ChibiOS?
Dou you have interest to be able to do matrix scanning using PIO instead of CPU?
Would you consider merging sekigon's branch or linking pico-sdk instead of ChibiOS?
Thanks.

@tzarc
Copy link
Member

tzarc commented Dec 21, 2021

Would you consider merging sekigon's branch or linking pico-sdk instead of ChibiOS?

Given that the branch is quite out of date compared to QMK and doesn't follow the structural patterns, it'd require a fair bit of work to be in a state that would be mergeable.

ChibiOS is still preferable at this point, as we're not having to rely on a single person making changes or bugfixes.

@tzarc
Copy link
Member

tzarc commented Dec 21, 2021

This commit, for instance, goes in the opposite direction of QMK:
sekigon-gonnoc@838055c

@hanya
Copy link

hanya commented Dec 22, 2021

ChibiOS uses pico-sdk to support RP2040. So you can call some functions from pico-sdk in QMK code.

@hamano
Copy link

hamano commented Dec 23, 2021

I believe that ChibiOS is the better choice if PIO is available.
Thanks.

@zykrah
Copy link
Contributor

zykrah commented Jan 10, 2022

Just to update anyone still interested regarding QMK RP2040 support, check out ChibiOS/ChibiOS-Contrib#310. From what I know, work on getting preliminary RP2040 support in QMK cannot happen until chibios-contrib maintainers merge this PR.

@ankitsxchdeva
Copy link

ankitsxchdeva commented Jan 29, 2022

Thank you for linking that PR! Looks like there's progress being made on it. Probably a stupid question but would that ChibiOS PR create the possibility of all RP MCUs to be QMK compatible?

@zykrah
Copy link
Contributor

zykrah commented Jan 29, 2022

Probably a stupid question but would that ChibiOS PR create the possibility of all RP MCUs to be QMK compatible?

As far as i know, it wont add support for existing MCUs (ie on other raspis), but it could make adding future RP MCUs easier if they ever do come out in the future.

@nodupe
Copy link

nodupe commented Feb 6, 2022

I'm happy to see that the commit on Chibios-contrib was merged!

@maberalc
Copy link

Will this lead to the support finally? Or it is already supported as it was merged???

@KarlK90
Copy link
Member

KarlK90 commented Feb 10, 2022

Will this lead to the support finally? Or it is already supported as it was merged???

#14877 is the tracking PR for RP2040 support in QMK. It is actively being worked on but no ETA yet.

@stale
Copy link

stale bot commented Jun 12, 2022

This issue has been automatically marked as stale because it has not had activity in the last 90 days. It will be closed in the next 30 days unless it is tagged properly or other activity occurs.
For maintainers: Please label with bug, in progress, on hold, discussion or to do to prevent the issue from being re-flagged.

@stale stale bot added the stale Issues or pull requests that have become inactive without resolution. label Jun 12, 2022
@tzarc tzarc added in progress and removed stale Issues or pull requests that have become inactive without resolution. labels Jun 12, 2022
@gril002
Copy link

gril002 commented Jul 3, 2022

Congrats to everyone involved on merging #14877. I can see it's now part of the develop branch. When can we expect the full release and what else needs to be done before that? Or is the develop branch stable enough to use?

@tzarc tzarc removed the in progress label Jul 3, 2022
@tzarc
Copy link
Member

tzarc commented Jul 3, 2022

develop is usually pretty stable, so should be fine for use.
Otherwise, the next merge of develop into master will occur on August 28.

@tzarc tzarc closed this as completed Jul 3, 2022
@xbliss
Copy link

xbliss commented Aug 26, 2022

develop is usually pretty stable, so should be fine for use. Otherwise, the next merge of develop into master will occur on August 28.

Is this still on schedule or have the dates moved?

@kaerbr
Copy link

kaerbr commented Oct 27, 2022

I guess its now available via https://config.qmk.fm/#/adafruit/macropad/LAYOUT (:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.