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

feat(devboard): Add support for RP2040 #72

Merged
merged 16 commits into from
Feb 9, 2024
Merged

feat(devboard): Add support for RP2040 #72

merged 16 commits into from
Feb 9, 2024

Conversation

ZZ-Cat
Copy link
Owner

@ZZ-Cat ZZ-Cat commented Jan 21, 2024

Overview

This Pull Request introduces a new architecture, plus support for two new development boards:

  • Arduino RP2040 Architecture
    • Arduino Nano RP2040 Connect
    • Raspberry Pi Pico RP2040

Additional notes

As it turns out, the existing Raspberry Pi Pico RP2040 support that PlatformIO uses is based on MBed. Not Earle Philhower's Arduino Pico like I had previously thought.
This means that the vast majority of RP2040 targets are still not currently supported in PlatformIO.

There is a Pull Request that's currently open and being actively worked on, to add Earle Philhower's RP2040 package to PlatformIO. When that Pull Request is merged, I will start adding in the rest of the RP2040 targets. But, until then, you guys are (unfortunately) stuck with two RP2040 targets.

@ZZ-Cat ZZ-Cat linked an issue Jan 21, 2024 that may be closed by this pull request
4 tasks
@ZZ-Cat ZZ-Cat added ✨️ Enhancement ✨️ New feature or request Arduino IDE ♾️ This is specific to the Arduino IDE labels Jan 21, 2024
@ZZ-Cat ZZ-Cat added this to the Version 1.0.0 milestone Jan 21, 2024
@ZZ-Cat ZZ-Cat added PlatformIO 👽 This is specific to PlatformIO. ...in progress 🚧 Development on this is in progress labels Jan 21, 2024
@ZZ-Cat ZZ-Cat self-assigned this Jan 21, 2024
@ZZ-Cat ZZ-Cat marked this pull request as draft January 21, 2024 20:46
@ZZ-Cat
Copy link
Owner Author

ZZ-Cat commented Jan 21, 2024

Right-oh, @PeterCasa. You're up.
Can you check out this Pull Request's development branch and flash one of CRSF for Arduino's examples to one of your RP2040 development boards, and let me know how that goes for you?
Thanks in advance.

@ZZ-Cat ZZ-Cat mentioned this pull request Jan 21, 2024
4 tasks
@kingfisher09
Copy link

Does this pull request also add support for the Arduino RP2040 Connect? If so I could try it out in the Arduino IDE if that would be helpful.

@ZZ-Cat
Copy link
Owner Author

ZZ-Cat commented Jan 26, 2024

Does this pull request also add support for the Arduino RP2040 Connect? If so I could try it out in the Arduino IDE if that would be helpful.

Yup. Arduino RP2040 Connect was added in 7181229.

You're very welcome to test this Pull Request and let me know how it goes.

@kingfisher09
Copy link

Great! I found another library that works for rp2040 but it doesn't have telemetry so I'm keen to get your one working on my project!

@ZZ-Cat
Copy link
Owner Author

ZZ-Cat commented Jan 26, 2024

Yeha. That's one of the advantages CRSF for Arduino brings to the table: Full RC and telemetry support.

@ZZ-Cat ZZ-Cat added ⤴️ Rebase Needed ⤴️ This needs to be rebased. and removed ...in progress 🚧 Development on this is in progress labels Feb 5, 2024
@ZZ-Cat ZZ-Cat removed the ⤴️ Rebase Needed ⤴️ This needs to be rebased. label Feb 8, 2024
@ZZ-Cat ZZ-Cat marked this pull request as ready for review February 8, 2024 23:58
@ZZ-Cat ZZ-Cat merged commit a464f1f into Main-Trunk Feb 9, 2024
4 checks passed
@ZZ-Cat ZZ-Cat deleted the ZZ-Cat/issue52 branch February 9, 2024 20:00
@PeterCasa
Copy link

@ZZ-Cat: sorry, I'm a little late to the party, didn't find some spare time. I've just tested your excellent piece of code and it works flawlessly on a WeAct RP2040 Dev board (set the board in arduino to "Raspberry Pi Pico"), right out of the box. Thank you very much!

@ZZ-Cat
Copy link
Owner Author

ZZ-Cat commented Mar 6, 2024

You're very welcome. =^/.^=

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Arduino IDE ♾️ This is specific to the Arduino IDE ✨️ Enhancement ✨️ New feature or request PlatformIO 👽 This is specific to PlatformIO.
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Support for Raspberry Pico
3 participants