Skip to content

fix(samd): wire platform_packages override (#677)#871

Merged
zackees merged 1 commit into
mainfrom
fix/677-samd-platform-packages-override
Jun 30, 2026
Merged

fix(samd): wire platform_packages override (#677)#871
zackees merged 1 commit into
mainfrom
fix/677-samd-platform-packages-override

Conversation

@zackees

@zackees zackees commented Jun 30, 2026

Copy link
Copy Markdown
Member

Finishes the half-migration from #870. samd_core.rs already grew with_override there, but the call site in install_samd_core was still calling SamdCores::new unconditionally — #870's report flagged this as the lone skipped platform pending framework-name verification.

Resolution: fbuild ships Adafruit's ArduinoCore-samd, so the matching PlatformIO package name is framework-arduino-samd-adafruit (PIO also has framework-arduino-samd for Arduino MKR/Zero and framework-arduino-samd-seeed for Seeeduino, neither of which fbuild currently builds). I resolve the override at the SAM/SAMD branching site alongside the existing __sam_ovr and thread it through install_samd_core's new override_:Option<PackageOverride> parameter.

Test plan

  • soldr cargo check -p fbuild-build clean
  • soldr cargo clippy -p fbuild-build --all-targets -- -D warnings clean
  • soldr cargo fmt -p fbuild-build no-op

Closes #677

🤖 Generated with Claude Code

Follows #664 / #681 / #870. SAMD is the half-migration left over from
#870: `samd_core.rs` already grew `with_override`, but the call site in
`install_samd_core` was still calling `SamdCores::new` unconditionally.

Resolve `framework-arduino-samd-adafruit` at the SAM/SAMD outer call
site (fbuild ships Adafruit's `ArduinoCore-samd`, so this is the
matching PIO package name; PIO also has `framework-arduino-samd` for
Arduino MKR/Zero and `framework-arduino-samd-seeed` for Seeeduino, but
those aren't variants fbuild currently builds). Thread the override
through `install_samd_core` alongside the existing `install_sam_core`
override threading.

Closes #677
@coderabbitai

coderabbitai Bot commented Jun 30, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@zackees, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 46 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 6421b5be-be93-4920-b221-960f54a2d8be

📥 Commits

Reviewing files that changed from the base of the PR and between b6246ff and 57c398b.

📒 Files selected for processing (1)
  • crates/fbuild-build/src/sam/orchestrator.rs
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/677-samd-platform-packages-override

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.

@zackees
zackees merged commit f4d3b1c into main Jun 30, 2026
15 of 23 checks passed
@zackees
zackees deleted the fix/677-samd-platform-packages-override branch June 30, 2026 17:11
@fastled-project-sync fastled-project-sync Bot moved this to Triage in FastLED Tracker Jul 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Triage

Development

Successfully merging this pull request may close these issues.

audit: samd / framework-arduinosam — does platform_packages override work? (parent #664)

1 participant