| # Enable mcumgr. |
| CONFIG_MCUMGR=y |
| |
| # Some command handlers require a large stack. |
| CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=2304 |
| CONFIG_MAIN_STACK_SIZE=2048 |
| |
| # Ensure an MCUboot-compatible binary is generated. |
| CONFIG_BOOTLOADER_MCUBOOT=y |
| |
| # Enable flash operations. |
| CONFIG_FLASH=y |
| |
| # Required by the `taskstat` command. |
| CONFIG_THREAD_MONITOR=y |
| |
| # Support for taskstat command |
| CONFIG_OS_MGMT_TASKSTAT=y |
| |
| # Enable statistics and statistic names. |
| CONFIG_STATS=y |
| CONFIG_STATS_NAMES=y |
| |
| # Enable most core commands. |
| CONFIG_MCUMGR_CMD_IMG_MGMT=y |
| CONFIG_MCUMGR_CMD_OS_MGMT=y |
| CONFIG_MCUMGR_CMD_STAT_MGMT=y |
| |
| # Enable logging |
| CONFIG_LOG=y |
| CONFIG_MCUBOOT_UTIL_LOG_LEVEL_WRN=y |
| |
| # Disable debug logging |
| CONFIG_LOG_MAX_LEVEL=3 |