2018-02-15 09:20:03 +08:00
|
|
|
# Enable mcumgr.
|
|
|
|
CONFIG_MCUMGR=y
|
|
|
|
|
|
|
|
# Some command handlers require a large stack.
|
|
|
|
CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=2048
|
|
|
|
|
|
|
|
# Ensure an MCUboot-compatible binary is generated.
|
|
|
|
CONFIG_BOOTLOADER_MCUBOOT=y
|
|
|
|
|
|
|
|
# Allow for large Bluetooth data packets.
|
|
|
|
CONFIG_BT_L2CAP_TX_MTU=260
|
|
|
|
CONFIG_BT_RX_BUF_LEN=260
|
|
|
|
|
2019-11-07 20:34:14 +08:00
|
|
|
# Enable the Bluetooth (unauthenticated) and shell mcumgr transports.
|
2018-02-15 09:20:03 +08:00
|
|
|
CONFIG_MCUMGR_SMP_BT=y
|
2019-11-07 20:34:14 +08:00
|
|
|
CONFIG_MCUMGR_SMP_BT_AUTHEN=n
|
2018-02-15 09:20:03 +08:00
|
|
|
CONFIG_MCUMGR_SMP_SHELL=y
|
|
|
|
#CONFIG_MCUMGR_SMP_UART=y
|
|
|
|
|
|
|
|
# Enable flash operations.
|
|
|
|
CONFIG_FLASH=y
|
|
|
|
|
2020-01-09 20:44:09 +08:00
|
|
|
# Enable the LittleFS file system.
|
2018-02-15 09:20:03 +08:00
|
|
|
CONFIG_FILE_SYSTEM=y
|
2020-01-09 20:44:09 +08:00
|
|
|
CONFIG_FILE_SYSTEM_LITTLEFS=y
|
2018-02-15 09:20:03 +08:00
|
|
|
|
|
|
|
# Required by the `taskstat` command.
|
|
|
|
CONFIG_THREAD_MONITOR=y
|
|
|
|
|
|
|
|
# Enable statistics and statistic names.
|
|
|
|
CONFIG_STATS=y
|
|
|
|
CONFIG_STATS_NAMES=y
|
|
|
|
|
|
|
|
# Enable all core commands.
|
|
|
|
CONFIG_MCUMGR_CMD_FS_MGMT=y
|
|
|
|
CONFIG_MCUMGR_CMD_IMG_MGMT=y
|
|
|
|
CONFIG_MCUMGR_CMD_OS_MGMT=y
|
|
|
|
CONFIG_MCUMGR_CMD_STAT_MGMT=y
|