<?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>How to change overlay settings on ncs?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/75895/how-to-change-overlay-settings-on-ncs</link><description>Hi, 
 sdk: ncs v1.5.0 
 path:D:\ncs\v1.5.0\applications\2_hello_world_board 
 overlay file path:D:\ncs\v1.5.0\applications\2_hello_world_board\board.overlay 
 if i change the overlay file name as nrf5340dk_nrf5340_cpuapp.overlay，Settings are available</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 08 Jun 2021 01:13:00 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/75895/how-to-change-overlay-settings-on-ncs" /><item><title>RE: How to change overlay settings on ncs?</title><link>https://devzone.nordicsemi.com/thread/314054?ContentTypeID=1</link><pubDate>Tue, 08 Jun 2021 01:13:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0f3de0a2-8eff-45fc-be56-7c59bf6f4c57</guid><dc:creator>peter.min</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;H&amp;aring;kon Alseth，&lt;/p&gt;
&lt;p&gt;The test results are OK&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thank&amp;ensp;you&amp;ensp;for&amp;ensp;all&amp;ensp;your&amp;ensp;assistance.&lt;/span&gt;&lt;br /&gt;&lt;span&gt;Kind regards,&lt;/span&gt;&lt;br /&gt;&lt;span&gt;Peter.Min&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to change overlay settings on ncs?</title><link>https://devzone.nordicsemi.com/thread/313039?ContentTypeID=1</link><pubDate>Wed, 02 Jun 2021 08:43:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:121048eb-55f2-48d0-8311-df51e3b367ff</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You can either create a $(BOARD).overlay file, as you describe in option A.&lt;/p&gt;
&lt;p&gt;Or you can explicitly set this in the CMakeLists.txt file:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;# SPDX-License-Identifier: Apache-2.0

cmake_minimum_required(VERSION 3.13.1)

set(DTC_OVERLAY_FILE &amp;quot;board.overlay&amp;quot;)

find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
project(hello_world)

target_sources(app PRIVATE src/main.c)

&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Note the overlay is defined just below the cmake_minimum_required().&lt;/p&gt;
&lt;p&gt;Note2: you need to delete your build folder and re-generate the project&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>