The project can be compiled and run normally before adding CONFIG_MCUMGR and other configurations。
The detailed configurations added are as follows:
CONFIG_MCUMGR=y
CONFIG_BOOTLOADER_MCUBOOT=y
CONFIG_MCUMGR_MGMT_NOTIFICATION_HOOKS=y
CONFIG_MCUMGR_CMD_IMG_MGMT=y
CONFIG_MCUMGR_GRP_IMG_STATUS_HOOKS=y
CONFIG_MCUMGR_GRP_IMG_UPLOAD_CHECK_HOOK=y
CONFIG_MCUBOOT_IMAGE_VERSION="2.1.4+0"
After that, there was an error in compiling:
The result was successfully compiled before adding the above configuration:
nrf5340 flash has 1M bytes, which accounts for 16.38% without boot, and it is impossible to add the boot function to exceed the size。
my prj.con
Please help me with this,thanks!