Description
Problem
The RP2040/RP2350 build orchestrator does not discover or compile Arduino-Pico bundled framework libraries under framework/libraries, and it does not honor matching lib_deps declarations.
This blocks CYW43 WiFi on Raspberry Pi Pico W / Pico 2 W. A generated project with:
[env:rp2350w]
board = rpipico2w
framework = arduino
board_build.core = earlephilhower
lib_deps = WiFiand a real #include <WiFi.h> fails under fbuild 2.5.7:
src/sketch/AutoResearchNet.cpp:898:10: fatal error: WiFi.h: No such file or directory
The same staged project metadata resolves framework-arduinopico/libraries/WiFi/src under PlatformIO. fbuild's installed Arduino-Pico package also contains libraries/WiFi, but the RP orchestrator only adds core, variant, manifest, SDK, and project include roots. In contrast, the Teensy and STM32 orchestrators call the shared framework-library selector and pass declared lib_deps.
Reproduction
Consumer: FastLED/FastLED issue #3832, staged rp2350w AutoResearch build with lib_deps = WiFi and the Arduino-Pico 4.5.3 framework override.
bash compile rp2350w --examples AutoResearchAcceptance criteria
- RP2040/RP2350 discovers bundled Arduino-Pico libraries.
- Active include scanning and explicit
lib_depsboth select libraries through the shared LDF-style resolver. - Selected framework sources are compiled and their include roots are available.
- A regression test proves declared
WiFiselection on the RP orchestrator path. - The FastLED RP2350W AutoResearch firmware compiles with the real CYW43/WiFi branch enabled.
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsTriage
Activity
zackees commentedon Aug 10, 2026
Resolved by the RP2040 orchestrator's framework-library integration. The orchestrator already:
framework.get_framework_libraries()framework.get_framework_library_include_dirs()lib_depsthroughresolve_framework_library_sources_active_declaredSee
crates/fbuild-build-arm/src/rp2040/orchestrator.rslines 231-289. Closing.