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

Added Functional Call To "erase_flash" In Minimal Launchpad #47

Conversation

RushikeshPatange
Copy link
Contributor

@RushikeshPatange RushikeshPatange commented Oct 12, 2023

What Does This PR Do ?

  • This PR adds a call to esploader.erase_flash to remove existing binaries from the chipset before initiating the flashing of new binaries.
image

Test Link ?

https://rushikeshpatange.github.io/esp-launchpad/minimal-launchpad/

@@ -69,6 +69,7 @@ async function downloadAndFlash() {
eraseAll: false,
compress: true,
};
await esploader.erase_flash();
Copy link
Collaborator

Choose a reason for hiding this comment

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

can we have this called based on flag (eraseAll) ? if eraseAll is true then call erase_flash() before write_flash()

@RushikeshPatange RushikeshPatange force-pushed the minimal-launchpad/add_erase_flash_functionality_call branch from 88218ae to 0972581 Compare October 13, 2023 11:04
@adwait-esp adwait-esp merged commit c3e92b5 into espressif:main Oct 16, 2023
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.

2 participants