Skip to content

Fix Arduino RP2040 flash size#5035

Merged
dhalbert merged 1 commit intoadafruit:mainfrom
tannewt:correct_a2040_flash
Jul 21, 2021
Merged

Fix Arduino RP2040 flash size#5035
dhalbert merged 1 commit intoadafruit:mainfrom
tannewt:correct_a2040_flash

Conversation

@tannewt
Copy link
Copy Markdown
Member

@tannewt tannewt commented Jul 21, 2021

For RP2040 boards, we now change the default flash size based on
the configured flash. We will still try to read the size from the
flash first.

Fixes #4874

For RP2040 boards, we now change the default flash size based on
the configured flash. We will still try to read the size from the
flash first.

Fixes micropython#4874
@tannewt tannewt added the rp2040 Raspberry Pi RP2040 label Jul 21, 2021
@tannewt tannewt added this to the 7.0.0 milestone Jul 21, 2021
@tannewt tannewt requested a review from dhalbert July 21, 2021 18:05
Copy link
Copy Markdown
Collaborator

@dhalbert dhalbert left a comment

Choose a reason for hiding this comment

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

Tested on various Adafruit RP2040 boards, and on Arduino Nano RP2040 Connect. The latter now gets the correct size after doing storage.erase_filesystem().

Will merge after builds complete.

@dhalbert dhalbert merged commit 10645bf into adafruit:main Jul 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

rp2040 Raspberry Pi RP2040

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Wrong filesystem size on Arduino RP2040 Connect

2 participants