<?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>Problem with using gpio pins after upgrading to connect sdk 2.2.0</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/95080/problem-with-using-gpio-pins-after-upgrading-to-connect-sdk-2-2-0</link><description>I am in the process of migrating a project using the nrf5340 from nRF Connect SDK v1.6.0 to v2.2.0 . 
 I have run into an issue where gpio pins I could use before are no longer usable and pins that I am allowed to use crash the app as well. My current</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 22 Dec 2022 08:44:37 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/95080/problem-with-using-gpio-pins-after-upgrading-to-connect-sdk-2-2-0" /><item><title>RE: Problem with using gpio pins after upgrading to connect sdk 2.2.0</title><link>https://devzone.nordicsemi.com/thread/401851?ContentTypeID=1</link><pubDate>Thu, 22 Dec 2022 08:44:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cbb2f8bf-982d-45c9-8d69-6ab037d2591a</guid><dc:creator>Capn Odin</dc:creator><description>&lt;p&gt;It worked, thank you. Now I can move on to the next issue, seems that the nvs is failing for some reason, anyway have a great day.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with using gpio pins after upgrading to connect sdk 2.2.0</title><link>https://devzone.nordicsemi.com/thread/401801?ContentTypeID=1</link><pubDate>Wed, 21 Dec 2022 20:44:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6e6163ab-4510-45d0-b963-7425580ec1b3</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;It is recommended to use node labels to get devices and to use DEVICE_DT_GET instead of&amp;nbsp;device_get_binding. In your case, this would look something like the following:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;pre class="ui-code" data-mode="text"&gt;	//gpio_0 = device_get_binding(&amp;quot;GPIO_0&amp;quot;);
	//gpio_1 = device_get_binding(&amp;quot;GPIO_1&amp;quot;);
	
	gpio_0 = DEVICE_DT_GET(DT_NODELABEL(gpio0));
	gpio_1 = DEVICE_DT_GET(DT_NODELABEL(gpio1));&lt;/pre&gt;&lt;br /&gt;For more information about these changes, please see the Zephyr release notes:&amp;nbsp;&lt;a href="https://docs.zephyrproject.org/latest/releases/release-notes-3.2.html#devicetree"&gt;Zephyr release notes 3.2 - Devicetree&lt;/a&gt;.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Please let me know whether this can help or not. &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thanks,&lt;/span&gt;&lt;span&gt;&lt;br /&gt;Amanda H.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>