<?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>Change flashed firmware by default in runners.yaml</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/87121/change-flashed-firmware-by-default-in-runners-yaml</link><description>Hi everyone, 
 I am developping on a custom board using nRF52840, using MCUboot v1.8.99-ncs1 and nRF Connect sdk v1.8. 
 For development matters, I would like to change the .hex file flashed by default when using a west flash command. 
 As far as I understand</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 26 Apr 2022 12:45:27 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/87121/change-flashed-firmware-by-default-in-runners-yaml" /><item><title>RE: Change flashed firmware by default in runners.yaml</title><link>https://devzone.nordicsemi.com/thread/364958?ContentTypeID=1</link><pubDate>Tue, 26 Apr 2022 12:45:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6219a552-24f2-4917-b67b-0ec6207085c0</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Ligne,&lt;/p&gt;
&lt;p&gt;Sorry for the late answer. I&amp;#39;m checking internally if they have any suggestion. I will let you know if we find any solution.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Change flashed firmware by default in runners.yaml</title><link>https://devzone.nordicsemi.com/thread/363889?ContentTypeID=1</link><pubDate>Wed, 20 Apr 2022 11:45:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9fce26c1-804a-4308-9052-a80880d6be32</guid><dc:creator>mateo-ligne</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Indeed those commands work, my idea was rather to change the default .hex file flashed when calling &lt;em&gt;west flash&lt;/em&gt; without any argument so that people building and using this project don&amp;#39;t have to distinguish different generated file.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If it is not possible, the solution will be to use the commands you proposed.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Change flashed firmware by default in runners.yaml</title><link>https://devzone.nordicsemi.com/thread/363883?ContentTypeID=1</link><pubDate>Wed, 20 Apr 2022 11:23:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c58469fe-d891-4446-8be2-48c3e0c363ae</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Ligne,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Have you tried --hex-file option ?&amp;nbsp;&lt;br /&gt;For example:&lt;br /&gt;west flash --hex-file C:\mine.hex&lt;/p&gt;
&lt;p&gt;Another easy option is to use west build and then call nrfjprog --program your.hex&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>