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

Improved strategy for reset to bootloader, fixing nodemcu reset issue #8

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

abhra0897
Copy link

Improved strategy for resetting to the bootloader. Without this, the boot button of NodeMCU-ESP32 DevKITV1 has to be pressed manually in order to enter the bootloader. But with this fix, it automatically enters the bootloader.

The reset strategy and sequence have been taken from the official esptool code.

Also added hard_reset() calls at the end of the read and write functions.

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.

1 participant