In platformio, when I debug a program that uses preferences, the nvm storage is cleared before the program begins. I have written a small program that illustrates the problem. I am including my project directory for that program.
I am adding my platformio.ini file. I couldn't attach the project directory, so I am including main.cpp and platformio.ini
Please disregard this ticket. The nvs is not being cleared, but is failing to read when I debug. When I get better info, i will submit another ticket
Log in to post a comment.
I am adding my platformio.ini file. I couldn't attach the project directory, so I am including main.cpp and platformio.ini
Last edit: Charlie Stricklin 2026-06-29
Please disregard this ticket. The nvs is not being cleared, but is failing to read when I debug. When I get better info, i will submit another ticket