<?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>NCS SDK: Devicetree overlay not recognized since v1.8.0</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/83596/ncs-sdk-devicetree-overlay-not-recognized-since-v1-8-0</link><description>Hello everyone, 
 I am working on a project based on nRF Connect SDK v1.7.1 that I want to move to the new SDK v1.8.0. But I&amp;#39;m experiencing problems when building the project. It seems like CMake is no longer recognizing the devicetree overlay that I</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 14 Jan 2022 11:23:59 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/83596/ncs-sdk-devicetree-overlay-not-recognized-since-v1-8-0" /><item><title>RE: NCS SDK: Devicetree overlay not recognized since v1.8.0</title><link>https://devzone.nordicsemi.com/thread/347741?ContentTypeID=1</link><pubDate>Fri, 14 Jan 2022 11:23:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:daf09fd1-f0a5-4753-b608-b409ab8cfc86</guid><dc:creator>db_lw</dc:creator><description>&lt;p&gt;Thank you, that solved my problem!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NCS SDK: Devicetree overlay not recognized since v1.8.0</title><link>https://devzone.nordicsemi.com/thread/347635?ContentTypeID=1</link><pubDate>Thu, 13 Jan 2022 15:09:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:33b21175-a9b9-42a3-b0d2-32a0a0b2378e</guid><dc:creator>&amp;#216;ivind</dc:creator><description>&lt;p&gt;There&amp;#39;s the issue.&lt;/p&gt;
&lt;p&gt;There were some changes in v1.8.0: &lt;a href="https://github.com/nrfconnect/sdk-zephyr/commit/3e0eb0b7b43da60f528a38a10ada78c49d5848e6"&gt;https://github.com/nrfconnect/sdk-zephyr/commit/3e0eb0b7b43da60f528a38a10ada78c49d5848e6&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Most importantly in this case:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;-zephyr_file(CONF_FILES ${APPLICATION_SOURCE_DIR}/boards DTS APP_BOARD_DTS)
+zephyr_file(CONF_FILES ${APPLICATION_CONFIG_DIR}/boards DTS APP_BOARD_DTS)&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;By default APPLICATION_CONFIG_DIR is the project folder, but you are overwriting it to be configuration/${BOARD}, so it is looking for an overlay file in configuration/${BOARD}/boards/&lt;/p&gt;
&lt;p&gt;You can put the overlay file in configuration/nrf52840dk_nrf52840/ , next to the .conf files, and you should be good to go.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NCS SDK: Devicetree overlay not recognized since v1.8.0</title><link>https://devzone.nordicsemi.com/thread/347620?ContentTypeID=1</link><pubDate>Thu, 13 Jan 2022 14:27:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cb046421-e54b-41ed-a56a-b3e1c4529bbe</guid><dc:creator>db_lw</dc:creator><description>&lt;p&gt;When the overlay file is put in the &amp;quot;configuration&amp;quot; folder it is not working.&lt;/p&gt;
&lt;p&gt;This is my CMakeLists.txt:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/8130.CMakeLists.txt"&gt;devzone.nordicsemi.com/.../8130.CMakeLists.txt&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NCS SDK: Devicetree overlay not recognized since v1.8.0</title><link>https://devzone.nordicsemi.com/thread/347617?ContentTypeID=1</link><pubDate>Thu, 13 Jan 2022 14:13:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9b4a3c43-6645-4145-805b-82d17f65ac66</guid><dc:creator>&amp;#216;ivind</dc:creator><description>&lt;p&gt;Does it work if you put the overlay file in the &amp;quot;configuration&amp;quot; folder?&lt;/p&gt;
&lt;p&gt;Could I see your CMakeLists.txt file?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NCS SDK: Devicetree overlay not recognized since v1.8.0</title><link>https://devzone.nordicsemi.com/thread/347574?ContentTypeID=1</link><pubDate>Thu, 13 Jan 2022 12:30:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:95da2f40-aa5d-464b-b375-c27bb15ad414</guid><dc:creator>db_lw</dc:creator><description>&lt;p&gt;Thanks for your reply!&lt;/p&gt;
&lt;p&gt;I thought I tried this already but apparently I didn&amp;#39;t because this way it works and CMake finds the overlay file.&lt;/p&gt;
&lt;p&gt;But why is the boards folder no longer searched by CMake?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NCS SDK: Devicetree overlay not recognized since v1.8.0</title><link>https://devzone.nordicsemi.com/thread/347571?ContentTypeID=1</link><pubDate>Thu, 13 Jan 2022 12:20:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:37f0b420-877a-4a97-8f37-54081447ffba</guid><dc:creator>&amp;#216;ivind</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Do you experience the same problem if the overlay file is placed one level up, at the same level as the Kconfig and CMakeLists.txt files?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>