zephyr/samples/subsys/fs/zms/Kconfig
Andrej Butok c887d5e235 sample: zms: add ZMS sample Kconfig
- adds ability to change the ZMS sample MAX_ITERATIONS
  and DELETE_ITERATION parameters via Kconfig without manually
  modifying the source code.
- adds ability to reduce flash memory wear on real devices
  by reducing the number of write iterations.

Signed-off-by: Andrej Butok <andrey.butok@nxp.com>
2025-02-27 23:19:34 +00:00

17 lines
416 B
Plaintext

# Copyright 2025 NXP
# SPDX-License-Identifier: Apache-2.0
mainmenu "ZMS sample configuration"
config MAX_ITERATIONS
int "The number of iterations that the sample writes the all set of data."
default 300
range 1 300
config DELETE_ITERATION
int "The number of iterations after the sample delete all set of data and verify that it has been deleted."
default 10
range 1 MAX_ITERATIONS
source "Kconfig.zephyr"