<?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>Overlay files for different builds</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/95776/overlay-files-for-different-builds</link><description>I have a project that requires different build for the same board, but need to use different overlay setting (i.e. different BUAD rate, GPIO&amp;#39;s,....) 
 Is it possible to specify a different overlay file than the default files that is created during the</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 15 Jun 2023 07:28:27 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/95776/overlay-files-for-different-builds" /><item><title>RE: Overlay files for different builds</title><link>https://devzone.nordicsemi.com/thread/431156?ContentTypeID=1</link><pubDate>Thu, 15 Jun 2023 07:28:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2696a879-5c2c-487c-9376-49f043d51df8</guid><dc:creator>spq</dc:creator><description>&lt;p&gt;For those having trouble to make this work... the correct argument is -DDTC_OVERLAY_FILE&amp;nbsp; (not -DDTS_OVERLAY_FILE).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Overlay files for different builds</title><link>https://devzone.nordicsemi.com/thread/405300?ContentTypeID=1</link><pubDate>Tue, 17 Jan 2023 14:58:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e0ea50f5-3ed0-4538-b5c1-e0c9959e4414</guid><dc:creator>hajmousa</dc:creator><description>&lt;p&gt;Great, Thanks for quick response,&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Overlay files for different builds</title><link>https://devzone.nordicsemi.com/thread/405274?ContentTypeID=1</link><pubDate>Tue, 17 Jan 2023 13:40:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e1c5c605-ac2e-4d57-b265-2f878aabec62</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;You should be able to create two different .overlay files, and call them whatever you like. Then you can include only one of them using the &amp;quot;Extra CMake arguments&amp;quot; button, and use the argument:&lt;/p&gt;
&lt;p&gt;-DDTS_OVERLAY_FILE=my_custom_file_1.overlay&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>