ZZ-Cat / CRSFforArduino

An Arduino Library for communicating with ExpressLRS and TBS Crossfire receivers.
GNU Affero General Public License v3.0
145 stars 25 forks source link

Support for Raspberry Pico #52

Closed PeterCasa closed 8 months ago

PeterCasa commented 10 months ago

Minimum requirements

What development board would you like me to add?

Would it be possible to add RP2040 support? eg Waveshare RP2040 Zero or any other RP2040 based DevBoard like the original Raspberry Pi Pico. Thanks!

ZZ-Cat commented 10 months ago

Dude, you read my mind.
Abso-fricken-lutely!
I was thinking of adding this at some point in 2024, and this can definitely be added to the list.

Also, it would be a good excuse for me to get my hands on a RP2040. =^/.~=

PeterCasa commented 10 months ago

Great to hear! A library not supporting the RP2040 is a shame ;-) I have taken a look at your code a bit and I think it shouldn't require much effort. Thanks in advance! If you need someone for testing, I'm your man.

ZZ-Cat commented 10 months ago

Great to hear! A library not supporting the RP2040 is a shame ;-) I have taken a look at your code a bit and I think it shouldn't require much effort. Thanks in advance! If you need someone for testing, I'm your man.

Awesome. I'm on hiatus over the holiday season, right now.

When the time comes for me to pick this up again in 2024, I will let you know.
I'm still taking feedback throughout the holiday season, by the way.

ZZ-Cat commented 8 months ago

@PeterCasa, I tagged you over in #72.
Let me know how that goes for you over there.

PeterCasa commented 8 months ago

Great, thank you! Highly appreciated! I will give it a try as soon as possible.

ZZ-Cat commented 8 months ago

You're welcome. =^/.^=

Also, be aware that because the RP2040 itself is still considered a "new" chipset (despite the fact that it's actually been around for a few years), PlatformIO themselves only support the Arduino RP2040 Connect and the official Raspberry Pi Pico RP2040 boards.
Therefore, I could only add those two to the Compatibility Table, because that's what's currently available.

In order for a board to be supported by CRSF for Arduino, it MUST have support in both Arduino IDE and PlatformIO.

If more RP2040 derivatives are supported by PlatformIO, I can add them in as and when they become available. Until then... you're stuck with those two development boards.