1# Copyright (c) Nordic Semiconductor ASA 2# SPDX-License-Identifier: Apache-2.0 3 4menuconfig RETAINED_MEM 5 bool "Retained memory drivers" 6 help 7 Enables support for drivers that can retain their data whilst the 8 device is powered (may be lost in low power states). 9 10if RETAINED_MEM 11 12config RETAINED_MEM_INIT_PRIORITY 13 int "Retained memory devices init priority" 14 default 40 15 help 16 Retained memory devices initialization priority, 17 18config RETAINED_MEM_MUTEXES 19 bool "Retained memory mutex support" 20 default y 21 depends on MULTITHREADING 22 help 23 Use mutexes to prevent issues with concurrent retained memory access. 24 Should only be disabled whereby retained memory access is required 25 in an ISR or for special use cases. 26 27module = RETAINED_MEM 28module-str = retained_mem 29source "subsys/logging/Kconfig.template.log_config" 30 31source "drivers/retained_mem/Kconfig.nrf" 32 33source "drivers/retained_mem/Kconfig.zephyr" 34 35endif # RETAINED_MEM 36