Add support for RP2350-One LED driver. #239
Reference in New Issue
Block a user
Delete Branch "daimiaopeng/main"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
This PR adds support for the Waveshare RP2350-One development board, specifically enabling its onboard Waveshare RP2350-One LED for status indication.
Details / Impact
mainbranch.WAVESHARE_RP2350_ONEto enable the specific driver.led_rp2350_one.c) that handles WS2812 initialization and color control.Testing
I have tested this change on a physical Waveshare RP2350-One board.
cmake .. -DPICO_BOARD=pico2 -DWAVESHARE_RP2350_ONE=ON.pico_fido.uf2to the board.Licensing confirmation (required)
I confirm the above licensing terms:
Anything else?
README.mdto include build instructions and LED state descriptions for this board.https://github.com/polhenarejos/pico-keys-sdk/pull/19
Pull request overview
This PR adds support for the Waveshare RP2350-One development board by enabling its onboard WS2812 RGB LED on GPIO 16 for FIDO status indication. The implementation uses different colors to represent various device states (idle, active, processing, confirmation).
Key Changes:
WAVESHARE_RP2350_ONEto enable board-specific LED supportReviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
WAVESHARE_RP2350_ONECMake option to conditionally enable the board-specific LED driver💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
The color for "Processing" state is inconsistent with the PR description. The PR description states "Processing (e.g. during Registration): Yellow fast blinking (50ms/50ms)", but the table shows Green. This should be updated to Yellow to match the intended design and PR description.
| Processing | 🟢 Green | 50ms on / 50ms off (fast blink) |
@daimiaopeng
Where to obtain led_rp2350_one.c file? I cannt find it.
Thanks
@kri164
pico-keys-sdk:https://github.com/polhenarejos/pico-keys-sdk/pull/19/files
https://github.com/daimiaopeng/pico-keys-sdk
https://github.com/daimiaopeng/pico-fido
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.