Skip to content

Fix Arduino RP2040 flash size #5035

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 21, 2021
Merged

Conversation

tannewt
Copy link
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
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