<?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>Device Tree Overlay throws up warnings</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/84308/device-tree-overlay-throws-up-warnings</link><description>I&amp;#39;m using VS 1.7.1 on Windows 10, with the nrf9160dk_nrf9160_ns 
 Playing around with myFirstApp from the VS Youtube Tutorials, I wanted to redirect output to uart2 and map uart2 to pins on the headers. I did this using an &amp;#39;app.overlay&amp;#39; file as per Zephyr</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 03 Feb 2022 12:31:28 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/84308/device-tree-overlay-throws-up-warnings" /><item><title>RE: Device Tree Overlay throws up warnings</title><link>https://devzone.nordicsemi.com/thread/351092?ContentTypeID=1</link><pubDate>Thu, 03 Feb 2022 12:31:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f7d77c71-8b84-4f3e-a29f-4c51fbe3e755</guid><dc:creator>Soupdragon</dc:creator><description>&lt;p&gt;Many thanks, I wont worry about ti for now, and my stuff builds and works just fine.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Device Tree Overlay throws up warnings</title><link>https://devzone.nordicsemi.com/thread/350948?ContentTypeID=1</link><pubDate>Wed, 02 Feb 2022 16:43:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e8f92046-3bbc-47d0-b7db-227597e24b69</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;I got some more insight from a developer internally. The warnings you see comes from the dts file in the nRF9160 board (zephyr\boards\arm\nrf9160dk_nrf9160) and soc (C:\v1.8.0\zephyr\dts\arm\nordic) folders. The extension is a bit more strict than the compiler, and warns about things that could be problematic, but that would still compile. All the warnings in the screenshot could be appropriate if you&amp;#39;re creating your own custom board as they&amp;#39;re pointing out potential errors (except maybe for the compatible warning in the root node).&lt;/p&gt;
&lt;p&gt;Warnings that comes from the devkit (like the warnings you&amp;#39;re getting), where they&amp;#39;re consciously broken are just noise. However, the developers working on this are aware of it, and the confusion it causes for customer. I will keep you updated.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Device Tree Overlay throws up warnings</title><link>https://devzone.nordicsemi.com/thread/350896?ContentTypeID=1</link><pubDate>Wed, 02 Feb 2022 13:44:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:12b50fd2-7a76-4178-96d1-b1c6ddfdcb08</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;What you should care about is the actual build output, see below image&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x320/__key/communityserver-discussions-components-files/4/pastedimage1643809310245v1.png" /&gt;&lt;/p&gt;
&lt;p&gt;If you don&amp;#39;t get any warnings/errors here, you should be good.&lt;/p&gt;
&lt;p&gt;The warnings from the PROBLEMS tab comes from the VS code nRF Conenct extension I believe. However, I see that all these warnings may cause confusion. I have contacted some developers internally about this and will get back to you.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Device Tree Overlay throws up warnings</title><link>https://devzone.nordicsemi.com/thread/350855?ContentTypeID=1</link><pubDate>Wed, 02 Feb 2022 11:52:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f475196c-8cf1-418b-81af-4c9dae736eeb</guid><dc:creator>Soupdragon</dc:creator><description>&lt;p&gt;Yes definitely using nrf9160dk and building for nrf9160dk_nrf9160_ns. Wasn&amp;#39;t exactly sure what to call the overlay file, so I opted for the simple &amp;#39;app.overlay&amp;#39;, as suggested in the Zephyr documentation. But I tried nrf9160dk_nrf9160_ns.overlay, and it works, but I still get lots of warnings. Different ones though. see below.&lt;br /&gt;&lt;br /&gt;Note that I&amp;#39;ve also been re-starting VS to clear the PROBLEMS tab, so I&amp;#39;m pretty sure the problems are real and current.&lt;br /&gt;&lt;br /&gt;Apologies for the screen shot pics, I don&amp;#39;t know yet how to cut-paste from the PROBLEMS tab&lt;br /&gt;&lt;br /&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1643802604518v1.png" alt=" " /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Device Tree Overlay throws up warnings</title><link>https://devzone.nordicsemi.com/thread/350839?ContentTypeID=1</link><pubDate>Wed, 02 Feb 2022 11:17:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:53a59966-b3cc-404b-8676-7bdb8ce6bd6c</guid><dc:creator>Caio Dias</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Are you using the nrf9160dk? or other board based on nrf52832?&lt;/p&gt;
&lt;p&gt;If it is the 9160dk the name of the overlay file should be nrf9160_nrf9160_ns.overlay and not app.overlay. Also if you are using the 9160dk, the build should be to the nrf9160dk_nrf9160_ns, looking at the photo it seems that you built to the nrf52dk_nrf52832.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>