Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clarify that RP2350 gets its unique id from OTP #1942

Merged
merged 2 commits into from
Sep 28, 2024

Conversation

peterharperuk
Copy link
Contributor

Fixes #1915

@lurch
Copy link
Contributor

lurch commented Sep 24, 2024

Looks good, but I wonder if this ought to use the \if mechanism that can be seen in e.g. https://github.com/raspberrypi/pico-sdk/pull/1945/files ?

@peterharperuk
Copy link
Contributor Author

yes, looks like that might be a good idea.

* Get the unique 64-bit device identifier which was retrieved from the
* external NOR flash device or OTP memory at boot, formatted as an ASCII hex string.
* Will always 0-terminate.
* Get the unique 64-bit device identifier formatted as a 0-terminated ASCII hex string.
Copy link
Contributor

Choose a reason for hiding this comment

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

Would "null-terminated" be better than "0-terminated" ?

@lurch
Copy link
Contributor

lurch commented Sep 25, 2024

One small quibble but otherwise looks great! 👍

@lurch lurch linked an issue Sep 25, 2024 that may be closed by this pull request
@kilograham kilograham added this to the 2.0.1 milestone Sep 28, 2024
@kilograham kilograham merged commit 66335f1 into raspberrypi:develop Sep 28, 2024
1 check passed
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.

pico_unique_id header needs some updates
3 participants