Update RP2040 target to use flash memory bank #392
Merged
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.
Summary of changes
I noticed that RPi Pico got broken a while back due to the upload method changes, because it does not have a flash bank defined, so the upload methods don't have a location to upload to. Funnily enough I actually did write such a flash bank definition in the memory banks example on the page, but never actually put it into the code X_X.
This PR updates the RP2040 target to:
memory_banks
andmemory_bank_config
memory_banks
and the configured area for the Mbed application inmemory_bank_config
, because thememory_banks
definition is now used for the flash programming HALImpact of changes
Fix CMake configuration failing for RP2040 if an upload method is enabled
Migration actions required
Documentation
Pull request type
Test results
Test run in progress...