[GH-ISSUE #548] add esp32 erase nvs #460

Closed
opened 2026-02-28 01:25:25 +03:00 by kerem · 1 comment
Owner

Originally created by @tablatronix on GitHub (Mar 6, 2018).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/548

add ability to erase NVS on esp32, this has been shown to become corrupt.

compile with
// #define WM_ERASE_NVS // esp32 erase() will erase
or include

   #include <nvs.h>
   #include <nvs_flash.h>

Then call erase(true) in code

Originally created by @tablatronix on GitHub (Mar 6, 2018). Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/548 add ability to erase NVS on esp32, this has been shown to become corrupt. compile with `// #define WM_ERASE_NVS // esp32 erase() will erase` or include #include <nvs.h> #include <nvs_flash.h> Then call `erase(true)` in code
kerem 2026-02-28 01:25:25 +03:00
Author
Owner

@tablatronix commented on GitHub (Mar 6, 2018):

9f6cc23beb

<!-- gh-comment-id:370654939 --> @tablatronix commented on GitHub (Mar 6, 2018): 9f6cc23beb4c739f8770900a63120dfc98aed8ec
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/WiFiManager#460
No description provided.