File tree Expand file tree Collapse file tree
examples/zephyr-subsys-nvs/zephyr Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # Copyright 2025 NXP
2+ # SPDX-License-Identifier: Apache-2.0
3+
4+ mainmenu "NVS Sample Configuration"
5+
6+ config NVS_SAMPLE_MAX_REBOOT
7+ int "Maximum reboot counter value"
8+ default 5
9+ range 1 1000
10+ help
11+ Maximum number of reboots to perform before resetting the counter.
12+
13+ config NVS_SAMPLE_REBOOT_COUNTDOWN
14+ int "Reboot countdown value (in iterations)"
15+ default 5
16+ range 1 60
17+ help
18+ Number of countdown iterations to wait before rebooting the device.
19+ Each iteration takes NVS_SAMPLE_SLEEP_TIME milliseconds.
20+
21+ config NVS_SAMPLE_SLEEP_TIME
22+ int "Sleep time between reboot countdown iterations (in milliseconds)"
23+ default 100
24+ range 10 10000
25+ help
26+ Duration in milliseconds to sleep between reboot countdown iterations.
27+
28+ source "Kconfig.zephyr"
You can’t perform that action at this time.
0 commit comments