1### This configuration enables fewer settings than the default, making it
2### suitable for a device with 32kB of RAM and 72kB image slots (e.g.,
3### nRF51).
4
5# Enable mcumgr.
6CONFIG_MCUMGR=y
7
8# Some command handlers require a large stack.
9CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=2304
10
11# Ensure an MCUboot-compatible binary is generated.
12CONFIG_BOOTLOADER_MCUBOOT=y
13
14# Allow for large Bluetooth data packets.
15CONFIG_BT_L2CAP_TX_MTU=252
16CONFIG_BT_L2CAP_RX_MTU=252
17CONFIG_BT_RX_BUF_LEN=260
18
19# Enable the Bluetooth (unauthenticated) and UART mcumgr transports.
20CONFIG_MCUMGR_SMP_BT=y
21CONFIG_MCUMGR_SMP_BT_AUTHEN=n
22#CONFIG_MCUMGR_SMP_SHELL=y
23CONFIG_MCUMGR_SMP_UART=y
24
25# Disable Bluetooth unused features
26CONFIG_BT_GATT_READ_MULTIPLE=n
27
28# Enable flash operations.
29CONFIG_FLASH=y
30
31# Required by the `taskstat` command.
32CONFIG_THREAD_MONITOR=y
33
34# Enable statistics and statistic names.
35CONFIG_STATS=y
36#CONFIG_STATS_NAMES=y
37
38# Enable all core commands.
39#CONFIG_MCUMGR_CMD_FS_MGMT=y
40CONFIG_MCUMGR_CMD_IMG_MGMT=y
41CONFIG_MCUMGR_CMD_OS_MGMT=y
42CONFIG_MCUMGR_CMD_STAT_MGMT=y
43