Add OTA support for rp2350#3027
Merged
Merged
Conversation
RP2350 has different memory range to bypass translation and caching DMA streaming doesn't appear to work. Is there any benefit to that over straight memcpy?
Accommodate RP2350 address translation
Use base definitions and functions from `pico_partition.h`
`explicit_buy()` failing with -4 PICO_ERROR_NOT_PERMITTED...
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.
This PR adds support for the rp2350 to enable booting different application images.
A special Pico-style partition table can be located in the first flash sector.
This is written after the standard ESP-style binary partition table, and contains only
basic application partition information.
Setting
partition_table_offset=0and movingrom0offset to 0x1000 (or any other location) is sufficient.For OTA, two application partitions of subtype
ota_0andota_1are required.The boot ROM sees these as partition 0 and 1 respectively.
The
Basic_Otaapplication now works for rp2350.A
PicoPartsample application is also included which demonstrates reading pico-style partition table information from within applications.