rp2xxx: Unique board identifier#910
Merged
mattnite merged 4 commits intoZigEmbeddedGroup:mainfrom Feb 22, 2026
Merged
Conversation
Existing flash.id() is rp2040 specific. This makes it work on pico2 also. pico sdk reference: https://github.com/raspberrypi/pico-sdk/blob/a1438dff1d38bd9c65dbd693f0e5db4b9ae91779/src/rp2_common/pico_unique_id/include/pico/unique_id.h https://github.com/raspberrypi/pico-sdk/blob/a1438dff1d38bd9c65dbd693f0e5db4b9ae91779/src/rp2_common/pico_unique_id/unique_id.c
It is no more chip specific.
tact1m4n3
reviewed
Feb 20, 2026
For the function which is RP2350 specific.
tact1m4n3
approved these changes
Feb 20, 2026
mattnite
approved these changes
Feb 22, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
We had implementation for rp2040, this makes it work also on rp2350.
Difference is explained in pico sdk, and this is based on pico sdk unique.c.