-
Notifications
You must be signed in to change notification settings - Fork 27
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 erase-flash option to erase the flash before programming. (RDT-234) #98
Conversation
Hi, |
BTW, @hfudev we do have a function in IDF service that erases the flash but it's not exposed, do you know where that one is used? I know it wasn't you who added it. |
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Ouss4 LGTM! It seems useful. Do you mind add this cli option for idf service as well?
I added it to IDF service. What to do with the function |
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
let's keep the old |
Thank you @Ouss4 ! |
Add an option to erase the flash before programming. And example that needs this is: espressif/arduino-esp32#6916
Tested with the Arduino example by adding:
IDF service added a similar function bu I am not sure how that one is used.