Skip to content

Commit 9628461

Browse files
committed
Add missing Kconfig
1 parent 1d6200d commit 9628461

1 file changed

Lines changed: 28 additions & 0 deletions

File tree

  • examples/zephyr-subsys-nvs/zephyr
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
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"

0 commit comments

Comments
 (0)