Some rpi connect improvements - #792
Merged
Merged
Conversation
Makes it easier to add other variants of rpi_connect_ota_demo (e.g. no_flash signed/encrypted)
Add on-device registration binary, for use if no host build available Update README.md with new instructions for provisioning using picotool, on-device registration, and combined UF2s Delete partitioning and OTP writing scripts, now those are handled by combined UF2s and picotool
Should make it easier to use the update UF2s, can specify directory with RPI_CONNECT_OTA_UPDATE_DIR Also sign the packaged binary with the example signing key
timg236
approved these changes
Sep 24, 2026
| @@ -0,0 +1,8 @@ | |||
| -----BEGIN EC PARAMETERS----- | |||
There was a problem hiding this comment.
Slightly worried about baking in a private key which people might blindly copy and paste
Contributor
Author
There was a problem hiding this comment.
This is our usual example key (used in the encrypted binaries) - there is a check in the SDK that if you use it with pico_sign_binary anywhere outside pico-examples it prints a warning, so hopefully people notice that and don’t blindly use it.
Also remove leftover references to shell scripts, and emphasize that you should only upload updates to Pi Connect, never combined UF2s
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.
RPI_CONNECT_OTA_UPDATE_DIRif specified)picotool otp load -s 0xc0 device-priv-key.pemto program ECC key instead of RAW, and remove the helper script now this is handled inpicotool(rpi-connect-preview branch)WIFI_SSIDandWIFI_PASSWORDlike other examples, and write these to the ffs blob - if these aren't provided the ffs blob will have empty files for them instead, so they can be written separately with a manually generated ffs blob