-
Notifications
You must be signed in to change notification settings - Fork 116
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
Add command to erase all flash #460
Labels
enhancement
New feature or request
Comments
jnross
added a commit
to junelife/espflash
that referenced
this issue
Aug 21, 2023
jnross
added a commit
to junelife/espflash
that referenced
this issue
Aug 22, 2023
* Add command to erase flash. (For esp-rs#460) * Add `erase-parts` command to erase named partitions. * Fix timeout logic when erasing regions.
jnross
added a commit
to junelife/espflash
that referenced
this issue
Aug 22, 2023
* Add command to erase flash. (For esp-rs#460) * Add `erase-parts` command to erase named partitions. * Fix timeout logic when erasing regions.
jnross
added a commit
to junelife/espflash
that referenced
this issue
Aug 22, 2023
* Add command to erase flash. (For esp-rs#460) * Add `erase-parts` command to erase named partitions. * Fix timeout logic when erasing regions.
jnross
added a commit
to junelife/espflash
that referenced
this issue
Aug 25, 2023
jnross
added a commit
to junelife/espflash
that referenced
this issue
Sep 12, 2023
jnross
added a commit
to junelife/espflash
that referenced
this issue
Sep 24, 2023
SergioGasquez
added a commit
that referenced
this issue
Sep 29, 2023
* Add command to erase flash. (For #460) * Add `erase-parts` command to erase named partitions. * Fix timeout logic when erasing regions. * Reset device after `erase_flash` or `erase_parts` commands. * Add support for `erase-region` subcommand. * Avoid changes to `cli/mod.rs` * Address PR comments. Add subcommands to `cargo-espflash` too. * Fix clippy violation. * Factor out error for erase failure when `--no-stub` is specified. * Improve guidance around StubRequiredToEraseFlash Co-authored-by: Sergio Gasquez Arcos <sergio.gasquez@gmail.com> --------- Co-authored-by: Sergio Gasquez Arcos <sergio.gasquez@gmail.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In some of our workflows we're still using
esptool.py
for itserase_flash
command. Sometimes we can avoid this with the--erase-parts
option on theflash
subcommand, but it's awkward that we need to provide an ELF binary to flash when we're only trying to erase data.I propose that an
erase
subcommand be added, with options to erase all flash, or to erase only named partitions.The text was updated successfully, but these errors were encountered: