1# Copyright Nordic Semiconductor ASA 2023. All rights reserved. 2# SPDX-License-Identifier: Apache-2.0 3# The Kconfig file is dedicated to example management group of 4# of MCUmgr subsystem and provides Kconfig options to configure 5# group commands behaviour and other aspects. 6# 7# Options defined in this file should be prefixed: 8# MCUMGR_GRP_EXAMPLE_ -- general group options; 9# 10# When adding Kconfig options, that control the same feature, 11# try to group them together by the same stem after prefix. 12if MCUMGR 13 14menuconfig MCUMGR_GRP_EXAMPLE_MODULE 15 bool "MCUmgr handlers for example management (module)" 16 depends on !MCUMGR_GRP_EXAMPLE_APP 17 select MCUMGR_SMP_CBOR_MIN_DECODING_LEVEL_2 18 help 19 Enables MCUmgr handlers for example management. This demonstrates the 20 file at a zephyr module level. 21 22if MCUMGR_GRP_EXAMPLE_MODULE 23 24config MCUMGR_GRP_EXAMPLE_OTHER_HOOK 25 bool "Other hook" 26 depends on MCUMGR_MGMT_NOTIFICATION_HOOKS 27 help 28 Allows applications to receive callback when the "other" example 29 management function is called 30 31module = MCUMGR_GRP_EXAMPLE 32module-str = mcumgr_grp_example 33source "subsys/logging/Kconfig.template.log_config" 34 35endif 36endif 37