If nvs sample is run once until max reboot value, the next time it is is ran on the same board, it will not behave as expected as code will read reboot counter set to max value and will stop there. In order to avoid the operation to wipe the flash manually between 2 runs of the test, add a clean termination to the test by resetting the reboot counter before exiting. Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org> |
||
|---|---|---|
| .. | ||
| console | ||
| fs | ||
| ipc | ||
| logging | ||
| mgmt | ||
| nvs | ||
| shell/shell_module | ||
| usb | ||
| subsys.rst | ||