Skip to content

Conversation

@Poofjunior
Copy link
Collaborator

@Poofjunior Poofjunior commented Jul 17, 2025

On the RP2040, pull the ID from the flash chip. (The current API sometimes reads all-zeros when calling get_unique_board_id.) Also fix an endianness issue where the wrong byte range was being populated.

Partially addresses #62 for the rp2040.

Copy link
Collaborator

@PathogenDavid PathogenDavid left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good at a glance! It'd probably be a good idea to figure out why pico_get_unique_board_id is broken in the Pico core at some point though since it might be indicative of a deeper issue.

As an aside, the register got renamed to R_UID when it was ratified in harp-tech/protocol#39. Would be good to update the Pico core to match.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants