-
Notifications
You must be signed in to change notification settings - Fork 406
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
Add RP2350 support #2337
Add RP2350 support #2337
Conversation
Utilize a platform_inc/wrap and a core_inc/wrap. lib/ and include/ now are core-specific with chip-specific lib/rp2040 and include/rp2040 dirs.
Dummy OTA for now
Cut-n-paste error
89f3118
to
a7d733d
Compare
56d6061
to
d11c895
Compare
Windows and x86 Mac missing. The build environment got eaten by bitrot. Will update before merge...
Commercial boards now only have 1 size PSRAM, no need to have menu for them.
@earlephilhower |
@FeuerSturm TinyUSB in the Pico-SDK repo works fine. The CDC(serial) works as does HID (I tested the keyboard example, but if 1 works the others are just a different report format). Assuming Adafruit_TinyUSB has moved to the latest version of TinyUSB then it should work as well if that's what you were asking. |
@earlephilhower |
Awesome. A quick test of the Adafruit_TinyUSB boot-keyboards and mass storage device examples worked fine on the RP2350, so I believe they're all up to date. |
@Architeuthis-Flux I just noticed the breadboard you sent was also an RP2350 board in disguise! I haven't looked too deeply into it, but I assume the 2350 actually does the analog mux control and it doesn't really make sense to add a |
I've spent the last few days getting all the firmware to run all the Jumperless 23(V5)0 stuff on a single core (I was using core 1 for the LEDs and sending data to the crossbar switches, but it doesn't really need all that), so I can leave the other one completely free to run arbitrary user code. So yes, it would be amazing to add Jumperless to Arduino-pico's menu. Next step is for me to write an abstraction layer to treat it as just another dev board. It'll be stretching the concept of a typical board definition, being single core with 10 GPIO, 6 (+-8V shifted) ADCs, 4 (+-8V) power supplies, 2 current sensors, a probe, 445 addressable LEDs (making a weirdly spaced 14x30 display), and the ability to route all that stuff anywhere. I'd be happy to keep the latest version of the firmware accessible in a convenient format somewhere so it can be pulled like any other library, and generally do whatever it takes to make life easy for you and Jumperless users. btw, what I sent you is an OG Jumperless which runs on an RP2040. As soon as the latest Jumperless V5 prototypes with the R2350B get in, you will have one. But take your time, it'll take about a month. |
Would greatly appreciate it if you could also merge #2352 after this PR but before making a release, thanks! |
* Add Solder Party RP2350 Stamp boards * Add new RP2350 boards to README * Add URLs for Solder Party boards
Yes, that's the "Arduino core architecture." To identify which variant, use the SDK's |
Ah, that's probably a bug I made and only in the platform.io stuff. Good catch. I'll update that back to the ARCH_RP2040 define. |
#2361 to fix |
Hi, I'm a dev at FastLED. Trying to add RP2350 support for FastLED, do you know what I'm doing wrong? This is the board json I'm injecting into ~/.platformio https://github.com/FastLED/FastLED/blob/master/ci/boards/rpipico2.json |
Just a quick note, that JSON was copied from the 4.0.1 release which unfortunately had the Pico2 @ 133 instead of 150MHz. You probably want to pull the latest version of it so you don't leave performance on the table. What is the error message you're getting? I don't use P.IO, but do you need to actually specify the @maxgerhardt would be the expert here on getting the Pico2 running. He might need to update his platform-rpi library to pull in the latest tools (esp. picotool which is now mandatory but before was unused). |
I had a mismatch between the different names. I've fixed that on my end and now i'm waiting for a new compile |
this is my platformio.ini file:
|
You're not following my guidance at all with the I'll fix up the PlatformIO platform then you can test as normal without fancy package updates. |
FYI, dual-core Cortex-M33 on RP2350 is working great in PlatformIO: maxgerhardt/platform-raspberrypi#69 (comment). |
Thanks, added your suggestion, see FastLED/FastLED@57b7481 |
The PR has been tested on SparkFun, ILabs, and Pico 2 RP2350 boards. Everything is working except for:
(Also, for some reason the one official Pico2 that I have tried OpenOCD on has failed, but the same config works fine on the iLabs RP2350 BConnect so it's either some HW lockout on my sample or a wiring issue on the Pico2 board rev 2624 6.17)