<?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 Modify the Zypher.dts</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/83128/how-to-modify-the-zypher-dts</link><description>Dear, I created a project in SES. I modified the zypher.dts file to define some pins as below: 
 1. I added some pins in aliases as shown in fig 1. 
 2. I added pins with lcd_pins tree node, as shown in fig 2. 
 3. I redefined the pins in main file as</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 28 Dec 2021 07:55:14 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/83128/how-to-modify-the-zypher-dts" /><item><title>RE: how to Modify the Zypher.dts</title><link>https://devzone.nordicsemi.com/thread/345187?ContentTypeID=1</link><pubDate>Tue, 28 Dec 2021 07:55:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c18882f0-d6e8-4336-9dd3-f8cbbdae2474</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Please try to delete the build directory in the project you copied to G:/ before opening the project in SES and creating a new build directory.&lt;/p&gt;
&lt;p&gt;If this does not solve the problem and you get errors when opening the project, can you copy the output from SES and paste it here? To see the output, select &amp;#39;Output&amp;#39; instead of &amp;#39;Tasks&amp;#39; in the output terminal in SES.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Marte&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to Modify the Zypher.dts</title><link>https://devzone.nordicsemi.com/thread/345182?ContentTypeID=1</link><pubDate>Tue, 28 Dec 2021 07:31:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:91194e6a-9bed-4f5e-ae03-84c4cde978ad</guid><dc:creator>mexco</dc:creator><description>&lt;p&gt;Dear, Marte thanks for your repluy. There is one more related issue. I copied the button sample project from /zypher/ samples/ basic&amp;nbsp; to&amp;nbsp; G:/ drive of computer. Then, updated the overlay file. How to rename the whole project ? I tried by chaning the button. But, when the renamed project is opened after closng the SES through nordic Connect SDK, tje project can not be opened.&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to Modify the Zypher.dts</title><link>https://devzone.nordicsemi.com/thread/345177?ContentTypeID=1</link><pubDate>Tue, 28 Dec 2021 07:24:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0c1a6508-04d1-446a-bf00-c47f37c242e6</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Did you remember to set the overlay file? There are multiple ways you can do this, as described in&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.8.0/zephyr/guides/dts/howtos.html#set-devicetree-overlays"&gt;Set devicetree overlays&lt;/a&gt;. I tested with your files and used option 2 in the link, setting it with the set() command in CMakeLists.txt:&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;set&lt;/span&gt;&lt;span&gt;(DTC_OVERLAY_FILE &lt;/span&gt;&lt;span&gt;&amp;quot;nrf5340dk_nrf5340_cpuapp.overlay&amp;quot;&lt;/span&gt;&lt;span&gt;)&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;Using this I was able to build successfully without errors.&lt;/p&gt;
&lt;p&gt;Please be aware that when using SES you must make CMake rerun in order for changes in the configuration, such as in prj.conf and CMakeLists.txt, to be applied. This can be done in multiple ways:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Open the project again with File &amp;gt; Open nRF Connect SDK Project&lt;/li&gt;
&lt;li&gt;Reload the project with Project &amp;gt; Reload &amp;lt;project_name&amp;gt;&lt;/li&gt;
&lt;li&gt;Rerun CMake with Project &amp;gt; Run CMake&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Marte&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to Modify the Zypher.dts</title><link>https://devzone.nordicsemi.com/thread/345134?ContentTypeID=1</link><pubDate>Mon, 27 Dec 2021 15:33:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:270cb009-a103-45a6-97bb-db65d75cd3d2</guid><dc:creator>mexco</dc:creator><description>&lt;p&gt;Dear Marte, I have crated a separate overlay file. Also, I have re-defined few connecor pins of nRF5340DK&amp;nbsp; board &lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/6204.overlay.png" /&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/4150.lcd_5F00_pins.png" /&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/7282.nrf5340dk_5F00_nrf5340_5F00_cpuapp.overlay"&gt;devzone.nordicsemi.com/.../7282.nrf5340dk_5F00_nrf5340_5F00_cpuapp.overlay&lt;/a&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/6786.lcd.h"&gt;devzone.nordicsemi.com/.../6786.lcd.h&lt;/a&gt;to iterface a LCD. I have attached both the files files and screen shots of both. When, Build Solution is cliked, the errors are shown andd Build Failed. The error seems related to redfeined connector pins of the board.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to Modify the Zypher.dts</title><link>https://devzone.nordicsemi.com/thread/345068?ContentTypeID=1</link><pubDate>Mon, 27 Dec 2021 08:38:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e1575c45-da48-4540-921d-dd07eb14ced7</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I do not recommend making changes in the existing board files. If you want to make changes to the devicetree of existing boards, you should instead use devicetree overlays, as explained here&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.8.0/zephyr/guides/dts/howtos.html#use-devicetree-overlays"&gt;Use devicetree overlays&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Marte&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>