Skip to content

fix flash size on zephyr feather rp2040#10960

Merged
tannewt merged 1 commit intoadafruit:mainfrom
FoamyGuy:zephyr_feather_rp2040_flash_size
Apr 21, 2026
Merged

fix flash size on zephyr feather rp2040#10960
tannewt merged 1 commit intoadafruit:mainfrom
FoamyGuy:zephyr_feather_rp2040_flash_size

Conversation

@FoamyGuy
Copy link
Copy Markdown
Collaborator

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#L73

With 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 storage is 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.

@dhalbert dhalbert requested a review from tannewt April 21, 2026 14:36
Copy link
Copy Markdown
Member

@tannewt tannewt left a comment

Choose a reason for hiding this comment

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

Thank you! Sorry I missed this.

@tannewt tannewt merged commit 26f70c1 into adafruit:main Apr 21, 2026
40 checks 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.

2 participants