Repository navigation
Add onboard RGB LED outputs to Seeed XIAO nRF52840 recommended components - #2995
Conversation
Three output.gpio entries (red P0.26, green P0.30, blue P0.6), active low, with allow_other_uses so the pins stay assignable elsewhere. The validator now checks presets against the generated body's pins when a manifest leaves pins empty for the sync to fill. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Tt1r6qPmeAc3fab3P8ZKWa
Pins are written as P0.26 / P0.30 / P0.6 to match how the editor emits nRF52 pins, with inverted set on the output instead of the pin. Drops allow_other_uses and the validator fallback it needed. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Tt1r6qPmeAc3fab3P8ZKWa
Merging this PR will not alter performance
Comparing Footnotes
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #2995 +/- ##
=======================================
Coverage 99.76% 99.76%
=======================================
Files 300 300
Lines 26430 26430
=======================================
Hits 26368 26368
Misses 62 62
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
|
ESPHome Bot (@esphbot) review |
PR Review — Add onboard RGB LED outputs to Seeed XIAO nRF52840 recommended componentsClean, data-only catalog addition with no issues found. Merge-ready. What the PR does well:
Notes (not blocking):
Checklist
Automated review by Kōan (Claude) |
ESPHome Bot (esphbot)
left a comment
There was a problem hiding this comment.
Tip
No blocking issues found — ready to merge.
|
Note No code changes since the last review ( |
What does this implement/fix?
Adds the Seeed XIAO nRF52840 (
xiao_ble) onboard RGB LED to the board's Recommended components. Each colour is its own binaryoutput.gpio:led_redP0.26led_greenP0.30led_blueP0.6inverted: trueis set on each output.P0.xform the editor writes for nRF52 boards, and each preset locks its pin.The rest of the manifest is unchanged. The pin map is still filled in by the sync (
pins: []), andboard_bodies/xiao_ble.jsonandfeatured_components.index.jsonwere regenerated withscript/update_board.py xiao_ble.Example of what the dashboard adds:
Types of changes
bugfixnew-featureenhancementbreaking-changerefactordocsmaintenancecidependenciesFrontend coordination
Checklist
ruff,codespell, yaml/json/python checks).tests/where applicable.components.index.json/definitions/components/*.jsonhave not been hand-edited (regenerate viascript/sync_components.pyif a sync is needed).docs/ARCHITECTURE.mdand/ordocs/API.md.