<?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</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/88634/device-tree</link><description>In general, what are the steps to adding a device using GPIO pins. 
 My thoughts are to physically connect my peripheral to the board and configure the device tree using an overlay file. 
 What else is there to do? When I compile, VS Code/CMake consistently</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 08 Jun 2022 16:07:24 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/88634/device-tree" /><item><title>RE: Device Tree</title><link>https://devzone.nordicsemi.com/thread/371486?ContentTypeID=1</link><pubDate>Wed, 08 Jun 2022 16:07:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:14449ecf-5450-4f5c-8a98-e9784509f141</guid><dc:creator>Tom Nowak</dc:creator><description>&lt;p&gt;I was adding a SPI Nor Flash. The initial error I was receiving was the __dts_devicetree_..._ord was unrecognized. This was caused since I was not using the SPIM despite pan configuration. Even so, I removed the spim within the overlay file and made it spi and then did not use the SPIM despite pan configuration.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;However, my new error is that the chip select does not seem to be working. I have it configured within my devicetree. Do I add it to my spi config in my code or manually control it as a GPIO?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Device Tree</title><link>https://devzone.nordicsemi.com/thread/371335?ContentTypeID=1</link><pubDate>Wed, 08 Jun 2022 09:26:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2e17239e-47b5-4329-b443-8b860d113b22</guid><dc:creator>&amp;#216;ivind</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Yes, connecting the peripheral to the board and adding an overlay file are required steps. You may also need to add one or more configs to your prj.conf file, and make changes to your application.&lt;/p&gt;
&lt;p&gt;Could you give me some more details on what type of peripheral you are trying to add and to which application, which changes you have made, and which errors you are seeing?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>