<?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 add a header file to the nRF9160&amp;amp;Zephyr project</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/51147/how-to-add-a-header-file-to-the-nrf9160-zephyr-project</link><description>Hi, everyone, 
 now I&amp;#39;m test &amp;quot; \ncs\nrf\samples\nrf9160\gps\build_nrf9160_pca10090 &amp;quot;, 
 it&amp;#39;s error about&amp;quot; nrf_socket.h: No such file or directory&amp;quot; 
 I&amp;#39;m find the file at &amp;quot; /ncs/nrfxlib/bsdlib/include/nrf_socket.h &amp;quot;, But how can i add this path? 
 
 And</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 20 Aug 2019 15:16:58 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/51147/how-to-add-a-header-file-to-the-nrf9160-zephyr-project" /><item><title>RE: How to add a header file to the nRF9160&amp;Zephyr project</title><link>https://devzone.nordicsemi.com/thread/205111?ContentTypeID=1</link><pubDate>Tue, 20 Aug 2019 15:16:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a8c88770-533d-41a1-8eac-638e0e3c9c97</guid><dc:creator>Jacky_</dc:creator><description>&lt;p&gt;I have seen this tutorial, it is great, but there is no more detailed introduction, I will use the method you said to add .h and .c, and look forward to more tutorials on Zephyr.&lt;/p&gt;
&lt;p&gt;Thank you :)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to add a header file to the nRF9160&amp;Zephyr project</title><link>https://devzone.nordicsemi.com/thread/204940?ContentTypeID=1</link><pubDate>Tue, 20 Aug 2019 08:22:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:66a263ee-a7fb-4af3-bc9c-0b88b8cb3f2d</guid><dc:creator>Heidi</dc:creator><description>&lt;p&gt;To add header files and source code, create a new directory called &amp;#39;include&amp;#39;&amp;nbsp;and add all your header files. Then add your .c files in the &amp;#39;src&amp;#39; directory. The just include the header files you want to use in the &amp;#39;main.c&amp;#39; file.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/nordic/cellular-iot-guides/b/getting-started-cellular/posts/nrf-connect-sdk-tutorial"&gt;This tutorial&lt;/a&gt;&amp;nbsp;has a guide on how to create an application from scratch using ncs.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;And you are correct, &amp;#39;ns&amp;#39; means &amp;#39;non secure&amp;#39;, and some of the libraries (for example bsdlib) have only been written for the non secure version.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Heidi&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to add a header file to the nRF9160&amp;Zephyr project</title><link>https://devzone.nordicsemi.com/thread/204846?ContentTypeID=1</link><pubDate>Mon, 19 Aug 2019 16:25:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e4dd9202-3c6f-4e4b-b482-052624ed2db3</guid><dc:creator>Jacky_</dc:creator><description>&lt;p&gt;Yes，I also found this.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;But I want&amp;nbsp;know, How to add header files and source code, Because the actual project needs to do this.&lt;/p&gt;
&lt;p&gt;And&amp;nbsp;I have never been exposed to zephyr before, I hope to understand the details and sequence of project creation.&lt;/p&gt;
&lt;p&gt;I think The difference between &amp;#39;ns&amp;#39; is the &amp;quot;secure&amp;quot; related,Not about &amp;quot;&lt;b&gt;&lt;i&gt;No such file or directory&lt;/i&gt;&lt;/b&gt;&amp;quot;.&lt;/p&gt;
&lt;p&gt;Thanks for answer :)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to add a header file to the nRF9160&amp;Zephyr project</title><link>https://devzone.nordicsemi.com/thread/204780?ContentTypeID=1</link><pubDate>Mon, 19 Aug 2019 13:04:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:93137f45-4501-42cf-8c5c-2b912c4a9fb2</guid><dc:creator>Heidi</dc:creator><description>&lt;p&gt;Hi! If you open a new nRF Connect SDK Project in Segger and select the board name &amp;quot;nrf9160_pca10090ns&amp;quot;, you should not encounter this error.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Heidi&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>