Skip to content
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

default flash mode to dio in fw image header #2013

Merged
merged 1 commit into from
Jun 25, 2017

Conversation

devsaurus
Copy link
Member

Follow-up to #2009.

  • This PR is for the dev branch rather than for master.
  • This PR is compliant with the other contributing guidelines as well (if not, please describe why).
  • I have thoroughly tested my contribution.
  • The code changes are reflected in the documentation at docs/en/*.

#2009 revealed that esptool.py changed defaults for flash mode and flash frequency to keep during write_flash, exposing the related content in the firmware image files we produce during build.
To ensure a safe default configuration (mainly for flash mode) which is expected to work for any board, this PR forces flash mode to dio and flash frequency to 40m inside the image.

@marcelstoer marcelstoer added this to the 2.1 follow-up milestone Jun 25, 2017
@marcelstoer
Copy link
Member

It's a bit unfortunate we have to make this change but the esptool.py upgrade makes this a logical consequence.

@marcelstoer marcelstoer merged commit 26df4a3 into nodemcu:dev Jun 25, 2017
@devsaurus devsaurus deleted the default_to_dio branch July 12, 2017 19:33
eiselekd pushed a commit to eiselekd/nodemcu-firmware that referenced this pull request Jan 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants