1#
2# Copyright (c) 2023 Nordic Semiconductor ASA
3#
4# SPDX-License-Identifier: Apache-2.0
5#
6
7# Settings management group public API is exposed by MCUmgr API
8# interface, when settings management is enabled.
9zephyr_library(mgmt_mcumgr_grp_settings)
10zephyr_library_sources(src/settings_mgmt.c)
11
12if(CONFIG_MCUMGR_GRP_SETTINGS AND NOT CONFIG_MCUMGR_GRP_SETTINGS_ACCESS_HOOK)
13  message(WARNING "Note: MCUmgr settings management is enabled but settings access hooks are "
14                  "disabled, this is an insecure configuration and not recommended for production "
15                  "use, as all settings on the device can be manipulated by a remote device. See "
16                  "https://docs.zephyrproject.org/latest/services/device_mgmt/mcumgr_callbacks.html "
17                  "for details on enabling and using MCUmgr hooks.")
18endif()
19