Skip to content

fix(rp2350w): build CYW43 AutoResearch peer - #3845

Merged
zackees merged 1 commit into
masterfrom
fix/rp2350w-cyw43-peer-final
Aug 6, 2026
Merged

zackees merged 1 commit into
masterfrom
fix/rp2350w-cyw43-peer-final

Conversation

@zackees

@zackees zackees commented Aug 6, 2026 •

Copy link
Copy Markdown
Member

Rebased follow-up to #3843.\n\nVerified with uv run pytest ci/tests/test_rp2350w_board_config.py -q, �ash lint, and �ash compile rp2350w --examples AutoResearch (fbuild; 1.12 MB flash, 124.26 KB RAM).

Summary by CodeRabbit

  • Bug Fixes

    • Improved Wi‑Fi reliability across RP2350W and ESP32 platforms by ensuring networking operations share consistent connection state.
    • Added platform safeguards so Wi‑Fi functionality is enabled only where supported.
    • Improved handling of station and access-point modes, shutdown, status reporting, and IP address retrieval.
  • Tests

    • Expanded automated coverage for platform-specific Wi‑Fi behavior and shared state management.
  • Chores

    • Updated the build tooling version used by the project.

@zackees
zackees merged commit 449ea8d into master Aug 6, 2026
14 of 17 checks passed
@zackees
zackees deleted the fix/rp2350w-cyw43-peer-final branch August 6, 2026 00:41
@coderabbitai

coderabbitai Bot commented Aug 6, 2026 •

Copy link
Copy Markdown

Review Change Stack

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: 5160e853-26b3-488d-8d0d-8dc02d4d8ce4

📥 Commits

Reviewing files that changed from the base of the PR and between b2a1344 and 1f22de3.

📒 Files selected for processing (6)
  • ci/tests/test_rp2350w_board_config.py
  • examples/AutoResearch/AutoResearch.ino
  • examples/AutoResearch/AutoResearchNet.cpp
  • pyproject.toml
  • src/platforms/arm/rp/wifi_rp.cpp.hpp
  • src/platforms/esp/32/net/wifi_esp32.cpp.hpp

📝 Walkthrough

Walkthrough

Changes

Wi-Fi state and platform integration

Layer / File(s) Summary
RP Wi-Fi singleton state
src/platforms/arm/rp/wifi_rp.cpp.hpp, ci/tests/test_rp2350w_board_config.py
RP Wi-Fi operations now use singleton-managed WifiState. Board tests verify singleton usage.
ESP32 Wi-Fi singleton and guard
src/platforms/esp/32/net/wifi_esp32.cpp.hpp, ci/tests/test_rp2350w_board_config.py
The ESP32 implementation uses singleton state under FL_WIFI_AVAILABLE && FL_IS_ESP32. Tests verify platform scoping and removal of the global state.
AutoResearch Wi-Fi include wiring
examples/AutoResearch/AutoResearchNet.cpp, examples/AutoResearch/AutoResearch.ino
WiFi.h is guarded for CYW43 platforms before low-memory gating, and the duplicate include is removed.

fbuild dependency pin

Layer / File(s) Summary
Update fbuild version pin
pyproject.toml
The required fbuild version changes from 2.5.7 to 2.5.10. Pin-history comments include releases 2.5.10 and 2.5.8.

Estimated code review effort: 3 (Moderate) | ~20 minutes

Possibly related PRs

  • FastLED/FastLED#3842: Introduced the RP2350W CYW43 implementation that this PR updates to use singleton state.
  • FastLED/FastLED#3843: Modified the related RP2350W AutoResearch Wi-Fi integration and board configuration tests.
  • FastLED/FastLED#3840: Updated the shared fbuild dependency pin and pin-history metadata.
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/rp2350w-cyw43-peer-final

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant