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 20 default y 21 depends on MULTITHREADING 22 depends on !RETAINED_MEM_MUTEX_FORCE_DISABLE 23 24config RETAINED_MEM_MUTEX_FORCE_DISABLE 25 bool "Disable retained memory mutex support" 26 depends on MULTITHREADING 27 help 28 Disable use of mutexes which prevent issues with concurrent retained 29 memory access. This option should only be enabled when retained 30 memory access is required in an ISR or for special use cases. 31 32module = RETAINED_MEM 33module-str = retained_mem 34source "subsys/logging/Kconfig.template.log_config" 35 36source "drivers/retained_mem/Kconfig.nrf" 37 38source "drivers/retained_mem/Kconfig.zephyr" 39 40endif # RETAINED_MEM 41