Page 1 of 1

how can nvs be cleared while flash, or on pc terminal

Posted: Fri May 08, 2020 11:51 am
by trustmiao
try to make sure nvs is default after every flash.

Re: how can nvs be cleared while flash, or on pc terminal

Posted: Fri May 08, 2020 2:03 pm
by saif_iot
I think just ereasing the flash will clear everything include NVS.

ESP32: idf.py -p "PORT_NUMBER" erase_flash
ESP8266: make erase_flash ESPPORT="PORT_NUMBER"

Re: how can nvs be cleared while flash, or on pc terminal

Posted: Mon May 11, 2020 4:15 pm
by trustmiao
Thx , guess this is the most automatic way