<?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>include esp8266 shield in Zephyr project</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/83276/include-esp8266-shield-in-zephyr-project</link><description>Dear, I need to upload data to w website using nRF5340DK. I decided to use NodeMCU V3, which has ESP8266. The related queires are: 
 1. How to include and use esp8266 shiled in existing Zephyr project ? 
 2. How to include HTTP support and related library</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 17 Jan 2022 13:50:45 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/83276/include-esp8266-shield-in-zephyr-project" /><item><title>RE: include esp8266 shield in Zephyr project</title><link>https://devzone.nordicsemi.com/thread/348063?ContentTypeID=1</link><pubDate>Mon, 17 Jan 2022 13:50:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2f344693-ddd2-490e-82f5-be5c7eb067fc</guid><dc:creator>helsing</dc:creator><description>&lt;p&gt;Hi Gulzar,&lt;/p&gt;
&lt;p&gt;Please have a look at the &lt;em&gt;wifi&amp;nbsp;&lt;/em&gt;sample found in zephyr/samples/net/wifi. This sample is mentioned in the documentation of the shield.&lt;/p&gt;
&lt;p&gt;Regarding WIFI=y and NETWORKING=y, this should have been CONFIG_WIFI=y and CONFIG_NETWORKING=y. These configs are already included in the already mentioned wifi sample.&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: include esp8266 shield in Zephyr project</title><link>https://devzone.nordicsemi.com/thread/347465?ContentTypeID=1</link><pubDate>Wed, 12 Jan 2022 18:51:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f44a134f-427b-4bd2-93cb-43c3e31e9a34</guid><dc:creator>mexco</dc:creator><description>&lt;p&gt;Dear,&amp;nbsp;I tried to add the&amp;nbsp; WIFI=y&amp;nbsp; and ETWORKING=y in Proj.conf file. But, when CMake is started, the errors are there as shwon in attached image.&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/wifi.png" /&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: include esp8266 shield in Zephyr project</title><link>https://devzone.nordicsemi.com/thread/345902?ContentTypeID=1</link><pubDate>Tue, 04 Jan 2022 12:41:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9020b246-4800-4170-82b7-af8d3bc85191</guid><dc:creator>helsing</dc:creator><description>&lt;p&gt;Dear Gulzar,&lt;/p&gt;
&lt;p&gt;1. In your project&amp;#39;s CMakeLists.txt, add this line:&amp;nbsp;&lt;code&gt;set(SHIELD esp_8266_arduino)&lt;/code&gt; .&lt;/p&gt;
&lt;p&gt;The order of the lines is of importance. Your file will look something like this:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;# SPDX-License-Identifier: Apache-2.0

cmake_minimum_required(VERSION 3.20.0)

set(SHIELD esp_8266_arduino)

find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
project(lvgl)

FILE(GLOB app_sources src/*.c)
target_sources(app PRIVATE ${app_sources})&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;More documentation for the &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.8.0/zephyr/boards/shields/esp_8266/doc/index.html"&gt;ESP8266 shield&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Please see the note:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&amp;quot;Sometimes boards declare standard headers like Arduino R3 but not define all connections. Make sure that the board you are using have all definitions to avoid build errors.&amp;quot;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;I have not checked whether your board deviates from the standard.&lt;/p&gt;
&lt;p&gt;In your project&amp;#39;s prj.con you probably need to add the following configs. I have not yet tested this myself:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;WIFI=y
NETWORKING=y&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;2. Are you planning to use AT commands to communicate with ESP8266?&lt;/p&gt;
&lt;p&gt;&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></channel></rss>