<?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>devicetree delete error</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/124017/devicetree-delete-error</link><description>Why do I get an error when using Devicetree overlay file to delete devices The first step is to open the overlay file in the device tree as shown in the figure 
 
 
 
 
 
 The second step, as shown in the figure, is to click on the LED pin and then click</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 01 Sep 2025 14:31:39 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/124017/devicetree-delete-error" /><item><title>RE: devicetree delete error</title><link>https://devzone.nordicsemi.com/thread/547361?ContentTypeID=1</link><pubDate>Mon, 01 Sep 2025 14:31:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2d035d8d-d9d7-4936-8537-388ed8e1234b</guid><dc:creator>LinJunXuan</dc:creator><description>&lt;p&gt;Thank you&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: devicetree delete error</title><link>https://devzone.nordicsemi.com/thread/547322?ContentTypeID=1</link><pubDate>Mon, 01 Sep 2025 11:51:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d9ca9700-1a3d-44e1-af04-81aeac914902</guid><dc:creator>Benjamin</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The error occurs because &lt;code&gt;gpios&lt;/code&gt; is a required property of &lt;code&gt;led0&lt;/code&gt;. Why do you want to remove it instead of just marking it as &lt;code&gt;disabled&lt;/code&gt;?&lt;/p&gt;
&lt;p&gt;If you do want to remove it, you can try this:&lt;/p&gt;
&lt;div&gt;
&lt;div dir="ltr"&gt;
&lt;pre&gt;&lt;span&gt;/&lt;/span&gt;&lt;span&gt; {&lt;/span&gt;&lt;br /&gt;&lt;span&gt;&lt;/span&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; aliases&lt;/span&gt;&lt;span&gt; {&lt;/span&gt;&lt;br /&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; /delete-property/ led3;&lt;/span&gt;&lt;br /&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; };&lt;/span&gt;&lt;br /&gt;&lt;span&gt;};&lt;/span&gt;&lt;br /&gt;&lt;span&gt;/delete-node/&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;&amp;amp;&lt;/span&gt;&lt;span&gt;led3&lt;/span&gt;&lt;span&gt;;&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;As for why this happens in the visual device tree editor, I’m not sure. I see the same behavior when following your steps. I’ll need to check with the team maintaining the tool.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Benjamin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: devicetree delete error</title><link>https://devzone.nordicsemi.com/thread/547229?ContentTypeID=1</link><pubDate>Sat, 30 Aug 2025 01:14:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c1e2fb54-168a-4ec2-a35d-cd8ec1801be6</guid><dc:creator>LinJunXuan</dc:creator><description>&lt;p&gt;Now this is the actual construction project, and I don&amp;#39;t understand. Even if I change my computer, there are records of this event happening. Curious, how should I learn command line to build projects? Do I have any routines??&lt;br /&gt;Assuming I already have it, can I build it through the VSCode terminal or change the path of the build project&lt;br /&gt;Thank you for your response this time&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: devicetree delete error</title><link>https://devzone.nordicsemi.com/thread/547143?ContentTypeID=1</link><pubDate>Fri, 29 Aug 2025 07:28:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1e5c176b-94b0-4caa-83d3-d4107fe85240</guid><dc:creator>Turbo J</dc:creator><description>&lt;p&gt;Do you get errors when you actually build the project? Those editor outputs might be a cosmetic only problem.&lt;/p&gt;
&lt;p&gt;Note that this DT overlay won&amp;#39;t delete the LED entry fully IMHO, and thus may cause actual build errors later.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I recommend learning how to manually build the project with the command line (&lt;code&gt;west build&lt;/code&gt;). VS code build configs tend to break horribly with DT errors.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>