<?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>Config of ESP8266 WiFi Module</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/89351/config-of-esp8266-wifi-module</link><description>Hi, 
 I have previously used the ESP8266 WiFi module and it has worked great. Since I have updated to the latest SDK, I am now seeing problems. I&amp;#39;m guessing something has changed in the config settings? 
 I build my code using the following 
 
 My proj</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 30 Jun 2022 19:50:01 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/89351/config-of-esp8266-wifi-module" /><item><title>RE: Config of ESP8266 WiFi Module</title><link>https://devzone.nordicsemi.com/thread/374976?ContentTypeID=1</link><pubDate>Thu, 30 Jun 2022 19:50:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:129de1cd-ca94-44ec-903d-95078664af2e</guid><dc:creator>RodWatt</dc:creator><description>&lt;p&gt;I have commented out my entire overlay file to see if I can see any other clues. I see this error&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;prj.conf:29: warning: attempt to assign the value &amp;#39;y&amp;#39; to the undefined symbol PINCTRL&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;I guess if this config is not working, that may explain why I am seeing an error around using the overlay file. Any thought as to why this configuration is not being taken? Do I need to enable something else first?&lt;/p&gt;
&lt;p&gt;Rod&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Config of ESP8266 WiFi Module</title><link>https://devzone.nordicsemi.com/thread/374971?ContentTypeID=1</link><pubDate>Thu, 30 Jun 2022 17:47:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:747db2ca-9397-438b-9634-e1deab699b10</guid><dc:creator>RodWatt</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The only include file I think I need, part from zephyr.h, is&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;dt-bindings/pinctrl/nrf-pinctrl.h&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Still no joy :-(&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Rod&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Config of ESP8266 WiFi Module</title><link>https://devzone.nordicsemi.com/thread/374667?ContentTypeID=1</link><pubDate>Wed, 29 Jun 2022 07:04:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f5477f70-3fc7-4118-9a7f-435b8ec98639</guid><dc:creator>RodWatt</dc:creator><description>&lt;p&gt;Hi, thanks for the suggestions. Yes, I have the following line in my config file&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;CONFIG_PINCTRL=y&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;and I have tried your suggestion above,&amp;nbsp;&lt;span&gt;NRF_PSEL(UART_TX, 1, 13) and NRF_PSEL(UART_RX, 1, 15) but still&amp;nbsp;receiving the error&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;pre class="ui-code" data-mode="text"&gt;Error: nrf52840dongle_nrf52840.dts.pre.tmp:547.19-20 syntax error&lt;/pre&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Can&amp;nbsp;you&amp;nbsp;&lt;/span&gt;elaborate on your comment &amp;quot;&lt;span&gt;your dts might be missing the definitions for NRF_PSEL or UART_* which should come from one of the include files&amp;quot;.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Do you know&amp;nbsp;which include files&amp;nbsp;test&amp;nbsp;refs are in? Where should I add this?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Cheers&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Rod&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Config of ESP8266 WiFi Module</title><link>https://devzone.nordicsemi.com/thread/374641?ContentTypeID=1</link><pubDate>Tue, 28 Jun 2022 23:57:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fdd542a0-2d50-428d-a55e-18365d0a744b</guid><dc:creator>mytzyiay</dc:creator><description>&lt;p&gt;Try NRF_PSEL(UART_TX, 1, 13) and NRF_PSEL(UART_RX, 1, 15)&lt;/p&gt;
&lt;p&gt;If that still errors out, your dts might be missing the definitions for NRF_PSEL or UART_* which should come from one of the include files. Is CONFIG_PINCTRL enabled?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Config of ESP8266 WiFi Module</title><link>https://devzone.nordicsemi.com/thread/374630?ContentTypeID=1</link><pubDate>Tue, 28 Jun 2022 21:16:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cd093844-1186-4252-ad38-678c53abe2cc</guid><dc:creator>RodWatt</dc:creator><description>&lt;p&gt;I have tried to update my overlay file, using this example as a template&lt;/p&gt;
&lt;p&gt;&lt;a id="" href="https://docs.zephyrproject.org/3.1.0/boards/arm/nrf52833dk_nrf52833/doc/index.html"&gt;https://docs.zephyrproject.org/3.1.0/boards/arm/nrf52833dk_nrf52833/doc/index.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;so, overlay file now looks like this&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;&amp;amp;pinctrl {
   uart1_default: uart1_default {
      group1 {
         psels = &amp;lt;NRF_PSEL(UART_TX, 0, 45)&amp;gt;,
                 &amp;lt;NRF_PSEL(UART_RX, 0, 47)&amp;gt;;
      };
   };
   /* required if CONFIG_PM_DEVICE=y */
   uart1_sleep: uart1_sleep {
      group1 {
         psels = &amp;lt;NRF_PSEL(UART_TX, 0, 45)&amp;gt;,
                 &amp;lt;NRF_PSEL(UART_RX, 0, 47)&amp;gt;;
         low-power-enable;
      };
   };
};

&amp;amp;uart1 {
	compatible = &amp;quot;nordic,nrf-uarte&amp;quot;;
	current-speed = &amp;lt;115200&amp;gt;;
	status = &amp;quot;okay&amp;quot;;
	pinctrl-0 = &amp;lt;&amp;amp;uart1_default&amp;gt;;
	pinctrl-1 = &amp;lt;&amp;amp;uart1_sleep&amp;gt;;
	pinctrl-names = &amp;quot;default&amp;quot;, &amp;quot;sleep&amp;quot;;
	esp8266 {
		compatible = &amp;quot;espressif,esp-at&amp;quot;;
		label = &amp;quot;esp8266&amp;quot;;
		status = &amp;quot;okay&amp;quot;;
	};
};&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;When I build, I get the following error&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;pre class="ui-code" data-mode="text"&gt;Error: nrf52840dongle_nrf52840.dts.pre.tmp:547.19-20 syntax error&lt;/pre&gt;&lt;br /&gt;&lt;/span&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;and this is line 547/548 in that file&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;pre class="ui-code" data-mode="text"&gt;psels = &amp;lt;NRF_PSEL(UART_TX, 0, 45)&amp;gt;,
                 &amp;lt;NRF_PSEL(UART_RX, 0, 47)&amp;gt;;&lt;/pre&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I&amp;nbsp;can&amp;#39;t see&amp;nbsp;whats wrong with that line?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Rod&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Config of ESP8266 WiFi Module</title><link>https://devzone.nordicsemi.com/thread/374464?ContentTypeID=1</link><pubDate>Tue, 28 Jun 2022 07:58:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7d2e3d9e-50c8-49d1-809c-15f72f4d1799</guid><dc:creator>RodWatt</dc:creator><description>&lt;p&gt;Thanks &lt;span&gt;H&amp;aring;kon&lt;/span&gt;. When I updated to the new SDK, I also saw problems with another sensor.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/88912/errors-when-using-bme680-sample-code"&gt;Errors when using BME680 Sample Code&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I had to add a couple of additional statements into my overlay file.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Maybe it&amp;#39;s a similar issue?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Config of ESP8266 WiFi Module</title><link>https://devzone.nordicsemi.com/thread/374419?ContentTypeID=1</link><pubDate>Mon, 27 Jun 2022 22:05:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6ddd8c2f-fc29-46c1-b563-da2f9bbdd1b4</guid><dc:creator>helsing</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Just letting you know I have started looking at this.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Config of ESP8266 WiFi Module</title><link>https://devzone.nordicsemi.com/thread/374248?ContentTypeID=1</link><pubDate>Sun, 26 Jun 2022 18:32:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:79d8c2f0-10e7-4251-91d7-4a73eeabf69f</guid><dc:creator>mytzyiay</dc:creator><description>&lt;p&gt;I don&amp;#39;t think it&amp;#39;s causing this error, but one thing I had to do when migrating both of my projects from v1.9.1 -&amp;gt; v2.0.0 is update my DTS overlays to use the new pinctrl mechanism instead of tx-pin / rx-pin / etc.&lt;/p&gt;
&lt;p&gt;&lt;a id="" href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.0.0/nrf/ug_pinctrl.html"&gt;https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.0.0/nrf/ug_pinctrl.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;gt;&amp;nbsp;error: &amp;#39;DT_N_INST_0_espressif_esp_BUS_P_hw_flow_control&amp;#39; undeclared&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/pastedimage1656267873723v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;This should be an optional property, need to figure out why it&amp;#39;s causing a build failure.&amp;nbsp; Maybe ESP_BUS is pointing to the wrong node type, preventing the properties described in zephyr/dts/bindings/serial/uart-controller.yaml from being added?&lt;/p&gt;
&lt;p&gt;I would look at the old and new zephyr.dts files side by side to try to figure out what ESP_BUS resolves to.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>