1# Enable MCUmgr and dependencies.
2CONFIG_NET_BUF=y
3CONFIG_ZCBOR=y
4CONFIG_CRC=y
5CONFIG_MCUMGR=y
6CONFIG_STREAM_FLASH=y
7CONFIG_FLASH_MAP=y
8
9# Some command handlers require a large stack.
10CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=2304
11CONFIG_MAIN_STACK_SIZE=2048
12
13# Ensure an MCUboot-compatible binary is generated.
14CONFIG_BOOTLOADER_MCUBOOT=y
15
16# Enable flash operations.
17CONFIG_FLASH=y
18
19# Required by the `taskstat` command.
20CONFIG_THREAD_MONITOR=y
21
22# Support for taskstat command
23CONFIG_MCUMGR_GRP_OS_TASKSTAT=y
24
25# Enable statistics and statistic names.
26CONFIG_STATS=y
27CONFIG_STATS_NAMES=y
28
29# Enable most core commands.
30CONFIG_FLASH=y
31CONFIG_IMG_MANAGER=y
32CONFIG_MCUMGR_GRP_IMG=y
33CONFIG_MCUMGR_GRP_OS=y
34CONFIG_MCUMGR_GRP_STAT=y
35
36# Enable logging
37CONFIG_LOG=y
38CONFIG_MCUBOOT_UTIL_LOG_LEVEL_WRN=y
39
40# Disable debug logging
41CONFIG_LOG_MAX_LEVEL=3
42