35 lines
853 B
Plaintext
35 lines
853 B
Plaintext
|
# Copyright (c) 2023, Nordic Semiconductor ASA
|
||
|
# SPDX-License-Identifier: Apache-2.0
|
||
|
|
||
|
menuconfig RETENTION
|
||
|
bool "Retention support"
|
||
|
depends on CRC
|
||
|
depends on RETAINED_MEM
|
||
|
depends on DT_HAS_ZEPHYR_DATA_RETENTION_ENABLED
|
||
|
help
|
||
|
Enables support for the data retention system, which uses retained
|
||
|
memory drivers.
|
||
|
|
||
|
if RETENTION
|
||
|
|
||
|
config RETENTION_INIT_PRIORITY
|
||
|
int "Retention devices init priority"
|
||
|
default 86
|
||
|
help
|
||
|
Data retention devices initialization priority (must be higher than
|
||
|
init priorities for retained memory drivers.
|
||
|
|
||
|
config RETENTION_BUFFER_SIZE
|
||
|
int "Retention stack buffer sizes"
|
||
|
default 16
|
||
|
range 1 4096
|
||
|
help
|
||
|
Size of buffers (stack based) used when reading and writing data
|
||
|
from/to the retention device.
|
||
|
|
||
|
module = RETENTION
|
||
|
module-str = retention
|
||
|
source "subsys/logging/Kconfig.template.log_config"
|
||
|
|
||
|
endif # RETENTION
|