<?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>TCP project creation problems</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/74668/tcp-project-creation-problems</link><description>Hey everyone, 
 I firstly want to preface this with my lack of credentials. I&amp;#39;m very new to embedded systems development and am figuring things out slowly so please bear with me! 
 My goal is to initiate a TCP connection to a website using a sample sketch</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 20 May 2021 12:51:05 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/74668/tcp-project-creation-problems" /><item><title>RE: TCP project creation problems</title><link>https://devzone.nordicsemi.com/thread/310755?ContentTypeID=1</link><pubDate>Thu, 20 May 2021 12:51:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:68bf4b37-8308-4fb6-ad94-d62221abe0ce</guid><dc:creator>Hakon</dc:creator><description>&lt;p&gt;You can try this modified version of it.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/tcp.zip"&gt;devzone.nordicsemi.com/.../tcp.zip&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;You might need to change the TCP hostname to something else.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: TCP project creation problems</title><link>https://devzone.nordicsemi.com/thread/309461?ContentTypeID=1</link><pubDate>Wed, 12 May 2021 11:25:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e2df7826-dc83-434a-989a-1a2494650641</guid><dc:creator>caravelle</dc:creator><description>&lt;p&gt;If I delete the net raw mode definition in conf (I have no idea if that was the right thing to do but seemed reasonable since it is complaining about it in the error) I get this error&lt;/p&gt;
&lt;p&gt;Creating solution TCP.emProject&lt;br /&gt; C:/Users/Miles/ncs/v1.5.0/toolchain/opt/bin/cmake.exe -GNinja -DBOARD=nrf9160dk_nrf9160ns -DBOARD_DIR=C:\Users\Miles\ncs\v1.4.99-dev1\zephyr\boards\arm\nrf9160dk_nrf9160 -BC:\Users\Miles\TCP\build_nrf9160dk_nrf9160ns -SC:\Users\Miles\TCP -DNCS_TOOLCHAIN_VERSION=1.5.0 -DEXTRA_KCONFIG_TARGETS=menuconfig_ses -DEXTRA_KCONFIG_TARGET_COMMAND_FOR_menuconfig_ses=C:\Users\Miles\ncs\v1.5.0\toolchain\segger_embedded_studio/html/configure_nordic_project_menuconfig.py&lt;br /&gt; -- Application: C:/Users/Miles/TCP&lt;br /&gt; -- Zephyr version: 2.4.99 (C:/Users/Miles/ncs/v1.4.99-dev1/zephyr)&lt;br /&gt; -- Found west (found suitable version &amp;quot;0.9.0&amp;quot;, minimum required is &amp;quot;0.7.1&amp;quot;)&lt;br /&gt; -- Board: nrf9160dk_nrf9160ns&lt;br /&gt; -- Cache files will be written to: C:/Users/Miles/ncs/v1.4.99-dev1/zephyr/.cache&lt;br /&gt; -- Found dtc: C:/Users/Miles/ncs/v1.5.0/toolchain/opt/bin/dtc.exe (found suitable version &amp;quot;1.4.7&amp;quot;, minimum required is &amp;quot;1.4.6&amp;quot;)&lt;br /&gt; -- Found toolchain: gnuarmemb (C:/Users/Miles/ncs/v1.5.0/toolchain/opt)&lt;br /&gt; -- Found BOARD.dts: C:/Users/Miles/ncs/v1.4.99-dev1/zephyr/boards/arm/nrf9160dk_nrf9160/nrf9160dk_nrf9160ns.dts&lt;br /&gt; -- Generated zephyr.dts: C:/Users/Miles/TCP/build_nrf9160dk_nrf9160ns/zephyr/zephyr.dts&lt;br /&gt; -- Generated devicetree_unfixed.h: C:/Users/Miles/TCP/build_nrf9160dk_nrf9160ns/zephyr/include/generated/devicetree_unfixed.h&lt;br /&gt; Parsing C:/Users/Miles/ncs/v1.4.99-dev1/zephyr/Kconfig&lt;br /&gt; Loaded configuration &amp;#39;C:/Users/Miles/ncs/v1.4.99-dev1/zephyr/boards/arm/nrf9160dk_nrf9160/nrf9160dk_nrf9160ns_defconfig&amp;#39;&lt;br /&gt; Merged configuration &amp;#39;C:/Users/Miles/TCP/prj.conf&amp;#39;&lt;br /&gt; -- Configuring incomplete, errors occurred!&lt;br /&gt; -- Using NCS Toolchain 1.5.0 for building. (C:/Users/Miles/ncs/v1.5.0/toolchain/cmake)&lt;br /&gt; &lt;br /&gt; warning: LOG_DEFAULT_LEVEL (defined at C:/Users/Miles/ncs/v1.4.99-dev1/nrf\samples/Kconfig:33,&lt;br /&gt; subsys/logging/Kconfig:32) was assigned the value &amp;#39;4&amp;#39; but got the value &amp;#39;&amp;#39;. Check these unsatisfied&lt;br /&gt; dependencies: (LOG || LOG) (=n). See&lt;br /&gt; &lt;a href="http://docs.zephyrproject.org/latest/reference/kconfig/CONFIG_LOG_DEFAULT_LEVEL.html"&gt;docs.zephyrproject.org/.../CONFIG_LOG_DEFAULT_LEVEL.html&lt;/a&gt; and/or look up&lt;br /&gt; LOG_DEFAULT_LEVEL in the menuconfig/guiconfig interface. The Application Development Primer, Setting&lt;br /&gt; Configuration Values, and Kconfig - Tips and Best Practices sections of the manual might be helpful&lt;br /&gt; too.&lt;br /&gt; &lt;br /&gt; &lt;br /&gt; warning: TEST_RANDOM_GENERATOR (defined at subsys/random/Kconfig:8) was assigned the value &amp;#39;y&amp;#39; but&lt;br /&gt; got the value &amp;#39;n&amp;#39;. Check these unsatisfied dependencies: (!ENTROPY_HAS_DRIVER) (=n). See&lt;br /&gt; &lt;a href="http://docs.zephyrproject.org/latest/reference/kconfig/CONFIG_TEST_RANDOM_GENERATOR.html"&gt;docs.zephyrproject.org/.../CONFIG_TEST_RANDOM_GENERATOR.html&lt;/a&gt; and/or look&lt;br /&gt; up TEST_RANDOM_GENERATOR in the menuconfig/guiconfig interface. The Application Development Primer,&lt;br /&gt; Setting Configuration Values, and Kconfig - Tips and Best Practices sections of the manual might be&lt;br /&gt; helpful too.&lt;br /&gt; &lt;br /&gt; &lt;br /&gt; C:/Users/Miles/TCP/prj.conf:1: warning: attempt to assign the value &amp;#39;y&amp;#39; to the undefined symbol NRF_MODEM_LIB&lt;br /&gt; &lt;br /&gt; warning: AT_CMD (defined at C:/Users/Miles/ncs/v1.4.99-dev1/nrf\lib\at_cmd/Kconfig:9) has direct dependencies BSD_LIBRARY with value n, but is currently being y-selected by the following symbols:&lt;br /&gt; - LTE_LINK_CONTROL (defined at C:/Users/Miles/ncs/v1.4.99-dev1/nrf\lib\lte_link_control/Kconfig:7), with value y, direct dependencies y (value: y)&lt;br /&gt; &lt;br /&gt; error: Aborting due to Kconfig warnings&lt;br /&gt; &lt;br /&gt; CMake Error at C:/Users/Miles/ncs/v1.4.99-dev1/zephyr/cmake/kconfig.cmake:251 (message):&lt;br /&gt; command failed with return code: 1&lt;br /&gt; Call Stack (most recent call first):&lt;br /&gt; C:/Users/Miles/ncs/v1.4.99-dev1/zephyr/cmake/app/boilerplate.cmake:590 (include)&lt;br /&gt; CMakeLists.txt:9 (include)&lt;br /&gt; &lt;br /&gt; &lt;br /&gt; &lt;br /&gt; error: cmake failed&lt;br /&gt; create_nordic_project.py failed (1)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: TCP project creation problems</title><link>https://devzone.nordicsemi.com/thread/309459?ContentTypeID=1</link><pubDate>Wed, 12 May 2021 11:18:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:29fc3a73-d7f7-4626-b233-2c1950282192</guid><dc:creator>caravelle</dc:creator><description>&lt;p&gt;Sorry for being late I&amp;#39;ve got a few things going on at the moment&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: TCP project creation problems</title><link>https://devzone.nordicsemi.com/thread/309458?ContentTypeID=1</link><pubDate>Wed, 12 May 2021 11:18:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f00ec6f5-ee9f-4b31-80f2-35123e0eb560</guid><dc:creator>caravelle</dc:creator><description>&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1620818268980v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;This is it!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: TCP project creation problems</title><link>https://devzone.nordicsemi.com/thread/308734?ContentTypeID=1</link><pubDate>Fri, 07 May 2021 12:16:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f87c9985-f61e-42ab-b8c8-1dbb8c47a510</guid><dc:creator>Hakon</dc:creator><description>&lt;p&gt;Can you post the entire build log here so I can see where it goes wrong?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: TCP project creation problems</title><link>https://devzone.nordicsemi.com/thread/308625?ContentTypeID=1</link><pubDate>Thu, 06 May 2021 21:17:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bcce3e35-3676-4465-a31a-afb588047665</guid><dc:creator>caravelle</dc:creator><description>&lt;p&gt;Hmm this didn&amp;#39;t seem to work. Do you know of any more recent samples I could use?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: TCP project creation problems</title><link>https://devzone.nordicsemi.com/thread/308121?ContentTypeID=1</link><pubDate>Tue, 04 May 2021 09:50:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b75d60d4-1c85-4a85-8261-2d4cb1d6e5fb</guid><dc:creator>Hakon</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I believe the sample you are trying to build is a bit outdated. You can try changing the line&lt;/p&gt;
&lt;p&gt;CONFIG_BSD_LIBRARY=y&lt;/p&gt;
&lt;p&gt;to&lt;/p&gt;
&lt;p&gt;CONFIG_NRF_MODEM_LIB=y in prj.conf,&lt;/p&gt;
&lt;p&gt;since that config is deprecated.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>