I wish to add a firmware version to my project. Because we are hoping to use OTA for updating I have set the configuration paramater:
CONFIG_MCUBOOT_IMAGE_VERSION
in proj.conf.
How do I access this within my firmware. It doesn't appear in autoconf.h
I wish to add a firmware version to my project. Because we are hoping to use OTA for updating I have set the configuration paramater:
CONFIG_MCUBOOT_IMAGE_VERSION
in proj.conf.
How do I access this within my firmware. It doesn't appear in autoconf.h
Hi! To include SMP server and OTA function toy should add next lines
### Enable SMP server ### # FOR NCS auto make image CONFIG_MCUMGR_SMP_BT=y CONFIG_MCUMGR_SMP_BT_AUTHEN=n CONFIG_MCUMGR_CMD_IMG_MGMT=y CONFIG_MCUMGR_CMD_OS_MGMT=y CONFIG_MCUMGR=y CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=8192 CONFIG_BOOTLOADER_MCUBOOT=y CONFIG_MCUBOOT_IMAGE_VERSION="0.2.9"
but it would be better to look at this sample
zephyr\samples\subsys\mgmt\mcumgr\smp_svr\