<?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 config nrf9160 IO？</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/93719/how-to-config-nrf9160-io</link><description>Hi: 
 nrf9160dk_nrf9160_ns.overlay 
 
 
 
 
 
 Error in build this configuration.</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 10 Nov 2022 15:41:39 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/93719/how-to-config-nrf9160-io" /><item><title>RE: How to config nrf9160 IO？</title><link>https://devzone.nordicsemi.com/thread/395167?ContentTypeID=1</link><pubDate>Thu, 10 Nov 2022 15:41:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cef301c7-6e57-41b2-a6f0-4fea766b1292</guid><dc:creator>Einarh</dc:creator><description>&lt;p&gt;Hi again&lt;/p&gt;
&lt;p&gt;Disregard my previous comment, the spaces are not a problem.&lt;/p&gt;
&lt;p&gt;The problem is that the binding you have specified (gpio-ctrl) is not defined. If you choose another binding, like for example gpio-leds, your code compiles.&lt;/p&gt;
&lt;p&gt;So you will have to either find a suitable predefined binding that suits what you are trying to achieve:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/build/dts/api/bindings.html"&gt;https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/build/dts/api/bindings.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Or define your own binding:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/build/dts/bindings.html"&gt;https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/build/dts/bindings.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Einar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to config nrf9160 IO？</title><link>https://devzone.nordicsemi.com/thread/394966?ContentTypeID=1</link><pubDate>Wed, 09 Nov 2022 15:55:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:95a2b1ec-2051-484b-99d4-9ed52f52ba10</guid><dc:creator>john.liu</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;It&amp;#39;s still wrong.Use ncs 2.1.1.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/5001.mqtt_5F00_simple.zip"&gt;devzone.nordicsemi.com/.../5001.mqtt_5F00_simple.zip&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to config nrf9160 IO？</title><link>https://devzone.nordicsemi.com/thread/394954?ContentTypeID=1</link><pubDate>Wed, 09 Nov 2022 14:50:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6d9f16c5-7ec9-44e4-a321-13d5aa748943</guid><dc:creator>Einarh</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Can you try writing&amp;nbsp;&lt;code&gt;&amp;lt;&amp;amp;gpio0 15 0x0&amp;gt;&lt;/code&gt; instead of&amp;nbsp;&lt;code&gt;&amp;lt; &amp;amp;gpio0 15 0x0 &amp;gt;&lt;/code&gt; in your overlay file?&lt;/p&gt;
&lt;p&gt;(no spaces next to the brackets)&lt;/p&gt;
&lt;p&gt;-Einar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to config nrf9160 IO？</title><link>https://devzone.nordicsemi.com/thread/394906?ContentTypeID=1</link><pubDate>Wed, 09 Nov 2022 12:37:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ca4ce21d-c4db-4d4d-bae0-6fa1c45bc8a4</guid><dc:creator>john.liu</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Build error.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1667997289083v2.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to config nrf9160 IO？</title><link>https://devzone.nordicsemi.com/thread/394877?ContentTypeID=1</link><pubDate>Wed, 09 Nov 2022 10:30:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a683179d-f534-4385-b023-49816d301e46</guid><dc:creator>Einarh</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;&lt;code&gt;DT_ALIAS(ctrl0)&lt;/code&gt; looks for a node with the alias &lt;code&gt;ctrl0&lt;/code&gt;, but in the code you&amp;#39;ve shared you have not defined any alias.&lt;/p&gt;
&lt;p&gt;Try using &lt;code&gt;DT_NODELABEL(ctrl0)&lt;/code&gt; instead.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/build/dts/api/api.html#c.DT_NODELABEL"&gt;https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/build/dts/api/api.html#c.DT_NODELABEL&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Einar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>