<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Firmware version.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/86844/firmware-version</link><description>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&amp;#39;t appear in autoconf</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 11 Apr 2022 11:42:24 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/86844/firmware-version" /><item><title>RE: Firmware version.</title><link>https://devzone.nordicsemi.com/thread/362830?ContentTypeID=1</link><pubDate>Mon, 11 Apr 2022 11:42:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0756a98c-ccd2-46b0-aaa5-fa624c541ea8</guid><dc:creator>qwertynoon</dc:creator><description>&lt;p&gt;Hi! To include SMP server and OTA function toy should add next lines&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;### 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=&amp;quot;0.2.9&amp;quot;&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;but it would be better to look at this sample&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;zephyr\samples\subsys\mgmt\mcumgr\smp_svr\&lt;/strong&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>