You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Support for the RP2040 (Pi Pico) with ArduinoCore #1221
Got myself excited with the Arduino IDE support for RP2040 so dove in and did a test for FastLED
#error "This platform isn't recognized by FastLED... yet. See comments in FastLED/led_sysdefs.h for options."
Too early I know but with the very low cost, number of pins and speed of the Pico, I'm really hoping to use the Arduino IDE with Picos and FastLED is underpinning a lot of what I'm tinkering with.
I did get a 331 strip of WS2812b working on the Pico with Python, but I don't like Python, not too keen on using a Pi 4 or Thonny, but if it helps with a solution.
My assumption is that the team will be working hard to optimize fastLED for the use of the PIO, but I was curious if we'll be able to get just a quick port to get us up and running? I'm not a coder, or smart enough to do something like this myself :-(
Tracked in FastLED/fbuild#387 for RP2040 / Pico fbuild platform/build support validation.
That fbuild issue is scoped to board metadata, toolchain/backend support, and FastLED smoke-build evidence. Any remaining FastLED source/platform-code blocker should stay linked from both sides.
Tracking against FastLED/fbuild#387. fbuild ships a dedicated RP2040 platform orchestrator (crates/fbuild-build/src/rp2040/) with four green CI workflows on main:
Both ArduinoCore paths the original request covers (Earle Philhower's and Arduino-mbed) build through fbuild end-to-end. Latest green runs on main at 2026-06-03 21:51 UTC.
If FastLED on the RP2040 path is failing for you with fbuild, please open a new fbuild issue with the failing env + sketch and we'll investigate. Closing the fbuild tracker #387 as resolved.
FastLED's RP2040 support is now mostly implemented and actively being validated against a physical Raspberry Pi Pico-class board.
What is currently in place:
RP2040 platform builds through the supported ArduinoCore-RP2040/fbuild path.
Stock ROM BOOTSEL deployment works through fbuild's managed UF2 flow (no direct flasher): the board presents RPI-RP2, accepts NEW.UF2, exits BOOTSEL, and returns to the application USB identity.
FastLED has RP2040-specific resource, PIO, hardware-SPI, and UART engine unit coverage; the focused host suite is green.
The live board used for current validation is Raspberry Pi Pico SDK CDC UART (RP2040), USB 2E8A:000A, serial 5303284720C4641C; its normal application endpoint is COM12 on this Windows host.
Latest live result: a no-port BOOTSEL flash completed successfully and fbuild correctly correlated the application CDC endpoint back to COM12 after the flash. The remaining failure is host-side Windows device state: PnP reports that exact endpoint as CM_PROB_PHANTOM, so the serial driver cannot open it for the post-flash RPC smoke test. This is neither a failed UF2 transfer nor evidence that the RP2040 firmware watchdog is wedged. A small fbuild recovery fix is being prepared to preserve the unique known CDC identity across manual BOOTSEL flashes; it has focused unit coverage and still needs a clean live RPC run before being merged.
We would appreciate feedback from current RP2040/Pico users:
Which board and Arduino core are you using (Earle Philhower Arduino-Pico, Arduino mbed, or another core)?
Which LED chipset and transport are you using (clockless/PIO, hardware SPI, or another path)?
Does the board expose a stable USB CDC serial endpoint after a BOOTSEL UF2 flash on your OS?
For TinyUSB users, do you still see PIO/resource conflicts with the current FastLED code, and can you share a minimal repro?
Please include board model, OS, FastLED version/commit, core version, and a minimal sketch when possible. That will help us turn the current broad RP2040 support into well-documented, hardware-proven support across real devices.
TARGET_RP2040 / ARDUINO_RASPBERRY_PI_PICO are the ArduinoCore-mbed macros; ARDUINO_ARCH_RP2040 is Earle Philhower's arduino-pico, which is the core FastLED builds against in CI.
Drivers: src/platforms/arm/rp/ carries PIO clockless output (including parallel multi-lane), hardware SPI, and UART paths, shared across RP2040 and RP2350 via rpcommon/. PIO resources are acquired through the SDK claims system so FastLED coexists with other libraries that also use PIO.
Deployment goes through fbuild's managed ROM BOOTSEL/UF2 flow.
@robertlipe — yes, your 2025 question was right; this just never got closed.
Remaining RP work is tracked in its own scoped issues (RP2350(W) HIL in #3899, peer/network bring-up in #3832), so nothing is lost by closing this one. Please reopen if the mbed core specifically misbehaves for you.
Activity
DarrenlloydGent commentedon Apr 18, 2021
+1
Got myself excited with the Arduino IDE support for RP2040 so dove in and did a test for FastLED
#error "This platform isn't recognized by FastLED... yet. See comments in FastLED/led_sysdefs.h for options."
Too early I know but with the very low cost, number of pins and speed of the Pico, I'm really hoping to use the Arduino IDE with Picos and FastLED is underpinning a lot of what I'm tinkering with.
I did get a 331 strip of WS2812b working on the Pico with Python, but I don't like Python, not too keen on using a Pi 4 or Thonny, but if it helps with a solution.
https://core-electronics.com.au/tutorials/how-to-use-ws2812b-rgb-leds-with-raspberry-pi-pico.html
evenstephen85 commentedon Apr 21, 2021
My assumption is that the team will be working hard to optimize fastLED for the use of the PIO, but I was curious if we'll be able to get just a quick port to get us up and running? I'm not a coder, or smart enough to do something like this myself :-(
We love what you do!
ageppert commentedon Jul 19, 2021
A work around in the short-term is to use the Adafruit NeoPixel library which has been updated to support the rp2040 and pico with a PIO implementation: https://github.com/Bodmer/Adafruit_NeoPixel
nmaas87 commentedon May 10, 2022
#1261
robertlipe commentedon Feb 9, 2025
With #1261 merged, is there any reason to not close this? Seems like people are reporting it works well and has for some time.
zackees commentedon Jun 3, 2026
Tracked in FastLED/fbuild#387 for RP2040 / Pico fbuild platform/build support validation.
That fbuild issue is scoped to board metadata, toolchain/backend support, and FastLED smoke-build evidence. Any remaining FastLED source/platform-code blocker should stay linked from both sides.
zackees commentedon Jun 3, 2026
fbuild RP2040 build support: confirmed working
Tracking against FastLED/fbuild#387. fbuild ships a dedicated RP2040 platform orchestrator (
crates/fbuild-build/src/rp2040/) with four green CI workflows onmain:rp2040maxgerhardt/platform-raspberrypi)build-rp2040.yml✅rp2350build-rp2350.yml✅rpipicoraspberrypi(Arduino-mbed)build-rpipico.yml✅rpipico2raspberrypi(Arduino-mbed)build-rpipico2.yml✅Both ArduinoCore paths the original request covers (Earle Philhower's and Arduino-mbed) build through fbuild end-to-end. Latest green runs on
mainat 2026-06-03 21:51 UTC.If FastLED on the RP2040 path is failing for you with fbuild, please open a new fbuild issue with the failing env + sketch and we'll investigate. Closing the fbuild tracker #387 as resolved.
zackees commentedon Jul 16, 2026
RP2040 / Pico status update (July 2026)
FastLED's RP2040 support is now mostly implemented and actively being validated against a physical Raspberry Pi Pico-class board.
What is currently in place:
RPI-RP2, acceptsNEW.UF2, exits BOOTSEL, and returns to the application USB identity.Raspberry Pi Pico SDK CDC UART (RP2040), USB2E8A:000A, serial5303284720C4641C; its normal application endpoint is COM12 on this Windows host.Latest live result: a no-port BOOTSEL flash completed successfully and fbuild correctly correlated the application CDC endpoint back to COM12 after the flash. The remaining failure is host-side Windows device state: PnP reports that exact endpoint as
CM_PROB_PHANTOM, so the serial driver cannot open it for the post-flash RPC smoke test. This is neither a failed UF2 transfer nor evidence that the RP2040 firmware watchdog is wedged. A small fbuild recovery fix is being prepared to preserve the unique known CDC identity across manual BOOTSEL flashes; it has focused unit coverage and still needs a clean live RPC run before being merged.We would appreciate feedback from current RP2040/Pico users:
Please include board model, OS, FastLED version/commit, core version, and a minimal sketch when possible. That will help us turn the current broad RP2040 support into well-documented, hardware-proven support across real devices.
zackees commentedon Sep 6, 2026
Closing — RP2040 support shipped and is covered by CI and the bench.
The original ask was ArduinoCore-mbed. Both Pico cores are detected today, in
src/platforms/arm/rp/is_rp2040.h:15:TARGET_RP2040/ARDUINO_RASPBERRY_PI_PICOare the ArduinoCore-mbed macros;ARDUINO_ARCH_RP2040is Earle Philhower's arduino-pico, which is the core FastLED builds against in CI.Current state:
src/platforms/arm/rp/carries PIO clockless output (including parallel multi-lane), hardware SPI, and UART paths, shared across RP2040 and RP2350 viarpcommon/. PIO resources are acquired through the SDK claims system so FastLED coexists with other libraries that also use PIO.rp2040,rp2350,rp2350w.bash compile rp2040 --examples Blink→ flash 309.11 KB / 2.00 MB, RAM 57.04 KB / 256.00 KBbash compile rp2350 --examples Blink→ flash 563.20 KB / 2.00 MB, RAM 56.70 KB / 512.00 KB@robertlipe — yes, your 2025 question was right; this just never got closed.
Remaining RP work is tracked in its own scoped issues (RP2350(W) HIL in #3899, peer/network bring-up in #3832), so nothing is lost by closing this one. Please reopen if the mbed core specifically misbehaves for you.