fix flash size on zephyr feather rp2040#10960
Merged
tannewt merged 1 commit intoadafruit:mainfrom Apr 21, 2026
Merged
Conversation
tannewt
approved these changes
Apr 21, 2026
Member
tannewt
left a comment
There was a problem hiding this comment.
Thank you! Sorry I missed this.
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.
I mostly copied the original feather rp2040 board def from rpi pico and did not adjust the flash amount.
My understanding is upstream zephyr uses
(DT_SIZE_M(8)for this device here: https://github.com/zephyrproject-rtos/zephyr/blob/d67ec272cc6f86250e6e29eadc4590f865d76c2b/boards/adafruit/feather_rp2040/adafruit_feather_rp2040.dts#L73With this change my OS reports ~6.8mb total size of the drive as compared to under 2mb like it is without the change.
One tricky bit with this is that
storageis not currently enabled in the zephyr port so it is not as easy to get the change to take effect on the device. I had to use the flash nuke UF2 and then load the new build from this branch in order to get the adjusted size.