how can We get count of restarts after flash the firmware

trustmiao
Posts: 43
Joined: Mon Aug 06, 2018 5:16 am

how can We get count of restarts after flash the firmware

Postby trustmiao » Fri Jun 14, 2019 9:28 am

We wish to save settings into nvs, but maintain a factorysettings which can be restored on requirement.
Therefore, we wish we could save the factorysettings(coded in) into nvs on the first reboot after flash, and then read the nvs for settings after every other reboot.

is there a way to make such a mechanism?

Who is online

Users browsing this forum: Bing [Bot], MicroController and 143 guests