Erase all Flash contents on sketch upload
Posted: Tue Apr 27, 2021 7:27 pm
Hi,
since now i only used ESP8266.
When uploading a sketch via Arduino, you've got the options
Erase flash --> Only Sketch
Erase flash --> Sketch and WiFi Settings
Erase flash --> All flash contents (means also SPIFFS-Filesystem is cleaned)
When choosing ESP32 from Board-List this option is missing.
Is there something similar?
Primary i want the SPIFFS-Filesystem to be erased completely when uploading a new sketch (means a kind of "factory reset" of the ESP everytime i upload a new sketch.
Is this possible?
Best wishes
Daniel
since now i only used ESP8266.
When uploading a sketch via Arduino, you've got the options
Erase flash --> Only Sketch
Erase flash --> Sketch and WiFi Settings
Erase flash --> All flash contents (means also SPIFFS-Filesystem is cleaned)
When choosing ESP32 from Board-List this option is missing.
Is there something similar?
Primary i want the SPIFFS-Filesystem to be erased completely when uploading a new sketch (means a kind of "factory reset" of the ESP everytime i upload a new sketch.
Is this possible?
Best wishes
Daniel