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
Erase all Flash contents on sketch upload
-
- Posts: 2
- Joined: Tue Apr 27, 2021 6:49 pm
Re: Erase all Flash contents on sketch upload
Not sure if there is a more convenient way (maybe platformIO), but you could use:
https://github.com/espressif/esptool
https://github.com/espressif/esptool
-
- Posts: 7
- Joined: Mon Nov 15, 2021 12:23 am
Re: Erase all Flash contents on sketch upload
Seems like this hasn't yet been addressed.
Any news from ESP devs on this?
Any news from ESP devs on this?
-
- Posts: 9764
- Joined: Thu Nov 26, 2015 4:08 am
Re: Erase all Flash contents on sketch upload
Suggest you post it as an issue on the arduino-esp32 repo.
-
- Posts: 7
- Joined: Mon Nov 15, 2021 12:23 am
Who is online
Users browsing this forum: No registered users and 61 guests