Skip to content

Only set flashmode byte when uploading an executable #6891

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 2 commits into from
Dec 9, 2019

Conversation

earlephilhower
Copy link
Collaborator

Fixes #6880

The updater was patching in the proper flashmode configuration byte for
all uploads, apps and filesystems. This ended up corrupting one byte on
every FS upload.

Change updated to only patch theflashmode if it is doing an app.

Fixes esp8266#6880

The updater was patching in the proper flashmode configuration byte for
all uploads, apps and filesystems.  This ended up corrupting one byte on
every FS upload.

Change updated to only patch theflashmode if it is doing an app.
@earlephilhower earlephilhower added this to the 2.7.0 milestone Dec 9, 2019
@earlephilhower earlephilhower merged commit 7605dc1 into esp8266:master Dec 9, 2019
@earlephilhower earlephilhower deleted the fixupdt branch December 9, 2019 02:34
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.

Updater class corrupting FS uploads by setting flash mode byte in 1st sector
2 participants