<?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>Cant delete button nodes.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/112411/cant-delete-button-nodes</link><description>Im trying to delete button nodes but Im getting errors 
 devicetree error: /aliases: undefined node label &amp;#39;button0&amp;#39; 
 Tried a bunch of different approaches. Deleting unwanted LEDs I managed following 
 If I delete directly from Devicetree i get 
 Property</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 24 Jun 2024 09:38:42 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/112411/cant-delete-button-nodes" /><item><title>RE: Cant delete button nodes.</title><link>https://devzone.nordicsemi.com/thread/490208?ContentTypeID=1</link><pubDate>Mon, 24 Jun 2024 09:38:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3d55a043-1d52-494d-9bb2-9f23145e3c74</guid><dc:creator>Naeem Maroof</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;There must be some reference to buttons that you have deleted still in the dts and that would be causing error.&lt;/p&gt;
&lt;p&gt;Build without your overlay and note in the compiled dts where button0, button2, and button3 are used.&lt;/p&gt;
&lt;p&gt;For example, I can see that mcuboot-button0 alias is defined for button0, and hence if there is no button0 (as we have deleted using the overlay) then it would case error.&lt;/p&gt;
&lt;p&gt;I simply added the following&amp;nbsp;in your overlay and it is working fine:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;/{
    aliases {        
        mcuboot-button0 = &amp;amp;button1;
    };
};&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>