<?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>specify multi-image build app version</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/64144/specify-multi-image-build-app-version</link><description>When building an app with mcuboot as part of a multi-image build, how can I pass the app version to imgtool so the app_update.bin header gets created with the correct app version?</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 12 Aug 2020 07:31:55 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/64144/specify-multi-image-build-app-version" /><item><title>RE: specify multi-image build app version</title><link>https://devzone.nordicsemi.com/thread/264167?ContentTypeID=1</link><pubDate>Wed, 12 Aug 2020 07:31:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a51407bd-b76e-4d61-a664-be6b494f2e19</guid><dc:creator>&amp;#216;yvind</dc:creator><description>[quote user="rerickson"]How can I pass that version argument&amp;nbsp;to a multi-image build when using NCS.[/quote]
&lt;p&gt;You should be able to this using:&lt;br /&gt;&lt;pre class="ui-code" data-mode="powershell"&gt;west build -- &amp;#39;-DCONFIG_MCUBOOT_IMAGE_VERSION=&amp;quot;1.0.0+0&amp;quot;&amp;#39;&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Let me know how that works for you.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Kind regards,&lt;br /&gt;Øyvind&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: specify multi-image build app version</title><link>https://devzone.nordicsemi.com/thread/264130?ContentTypeID=1</link><pubDate>Tue, 11 Aug 2020 19:22:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7f837416-931d-4756-86ae-6689dd4166e3</guid><dc:creator>rerickson</dc:creator><description>&lt;p&gt;To manually sign an image you would do:&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;west sign -t imgtool -d&amp;nbsp;/build/my_app -- --version&amp;nbsp;1.0.0&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;How can I pass that version argument&amp;nbsp;to a multi-image build when using NCS.&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: specify multi-image build app version</title><link>https://devzone.nordicsemi.com/thread/264129?ContentTypeID=1</link><pubDate>Tue, 11 Aug 2020 19:01:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b2d2e757-fd97-4fce-838d-a6a52abe40b9</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;My sincere apologies for the late reply, Ryan. Most of our developers are back this week. I will ask again. I did find an answer, however, I don&amp;#39;t think that&amp;#39;s what you are looking for:&lt;/p&gt;
&lt;p&gt;Running&amp;nbsp;ninja clean &amp;amp;&amp;amp; ninja -v, it will output:&lt;/p&gt;
&lt;div&gt;[236/238] cmd.exe /C &amp;quot;cd /D C:\SDK\ncs\nrf\applications\asset_tracker\build\modules\mcuboot &amp;amp;&amp;amp; C:\Python37\python.exe C:/SDK/ncs/nrf/scripts/bootloader/generate_zip.py --bin-files C:/SDK/ncs/nrf/applications/asset_tracker/build/zephyr/app_update.bin --output C:/SDK/ncs/nrf/applications/asset_tracker/build/zephyr/dfu_application.zip load_address=0x1c200 &lt;u&gt;&lt;strong&gt;version_MCUBOOT&lt;/strong&gt;&lt;/u&gt;=0.0.0+0 type=application board=nrf9160dk_nrf9160 soc=nRF9160_SICA&amp;quot;&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: specify multi-image build app version</title><link>https://devzone.nordicsemi.com/thread/263918?ContentTypeID=1</link><pubDate>Tue, 11 Aug 2020 02:49:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c464566c-f423-4ef6-8e72-6d1eec3015ed</guid><dc:creator>rerickson</dc:creator><description>&lt;p&gt;Any update?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: specify multi-image build app version</title><link>https://devzone.nordicsemi.com/thread/262071?ContentTypeID=1</link><pubDate>Tue, 28 Jul 2020 20:34:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:640944c3-25ba-4f8f-b89a-7acd6fd77576</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Hi Ryan,&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Thanks for clarifying. I will talk to our NCS developers to get a final answer.&lt;/p&gt;
&lt;p&gt;-Øyvind&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: specify multi-image build app version</title><link>https://devzone.nordicsemi.com/thread/262040?ContentTypeID=1</link><pubDate>Tue, 28 Jul 2020 15:02:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7aac17bd-4b29-4d70-8314-0e863692d85f</guid><dc:creator>rerickson</dc:creator><description>&lt;p&gt;When building your app with mcuboot it triggers a multi-image build to build the mcuboot child image along with your app.&amp;nbsp; During this process the application hex gets signed by default.&amp;nbsp; As part of the signing process you can specify the apps version so that version gets included in the image header.&amp;nbsp; How can I specify that app version when running the west build command?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: specify multi-image build app version</title><link>https://devzone.nordicsemi.com/thread/262021?ContentTypeID=1</link><pubDate>Tue, 28 Jul 2020 14:05:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a4687b8a-16a6-459b-ada5-49aa2980c688</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Can you please elaborate? Is there something that should be more clear in the &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/mcuboot/readme-zephyr.html"&gt;mcuboot documentation&lt;/a&gt;?&lt;br /&gt;&lt;br /&gt;Kind regards,&lt;br /&gt;Øyvind&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>