<?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>SETTING UP A NEW PROJECT USING SDK 15</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/39125/setting-up-a-new-project-using-sdk-15</link><description>Hi Team Nordic, 
 
 I started developing a project using SDK 15 using DK nrf52840 . 
 I went through several threads and started by creating a test folder inside example directory . Now i copied the template folder in my test folder i.e.. example/ testFolder</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 08 Oct 2018 05:28:51 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/39125/setting-up-a-new-project-using-sdk-15" /><item><title>RE: SETTING UP A NEW PROJECT USING SDK 15</title><link>https://devzone.nordicsemi.com/thread/151944?ContentTypeID=1</link><pubDate>Mon, 08 Oct 2018 05:28:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9056f2ac-653a-4e35-9b34-269b968bc86b</guid><dc:creator>AndreasF</dc:creator><description>&lt;p&gt;Hi.&lt;/p&gt;
&lt;p&gt;Please look at my first reply under &amp;quot;&lt;strong&gt;How to include header files:&amp;quot;&lt;/strong&gt;. &lt;strong&gt;&lt;/strong&gt;It should be quite easy following those steps.&lt;/p&gt;
&lt;p&gt;- Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SETTING UP A NEW PROJECT USING SDK 15</title><link>https://devzone.nordicsemi.com/thread/151943?ContentTypeID=1</link><pubDate>Mon, 08 Oct 2018 05:26:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3a1378dd-cbdc-47d0-a568-61c20d6e1bb4</guid><dc:creator>AndreasF</dc:creator><description>&lt;p&gt;Hi.&lt;/p&gt;
&lt;p&gt;For the nRF52840 you need to use SoftDevice 140, not SoftDevice 132. That means you have to use the&lt;strong&gt; emProject &lt;/strong&gt;files which are in subfolders of pca10056, &lt;strong&gt;not &lt;/strong&gt;pca10040.&lt;/p&gt;
&lt;p&gt;- Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SETTING UP A NEW PROJECT USING SDK 15</title><link>https://devzone.nordicsemi.com/thread/151850?ContentTypeID=1</link><pubDate>Fri, 05 Oct 2018 13:45:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:98a30dfa-5527-4c51-95a6-f14063b18488</guid><dc:creator>arshdeep</dc:creator><description>&lt;p&gt;Do you think the part of problem could be that i am using &lt;strong&gt;template_project&lt;/strong&gt; that does not have soft device 132, it says blank in the path. you can verify in the path&lt;/p&gt;
&lt;p&gt;:&amp;nbsp;C:\Users\ArshdeepMalik\Desktop\nordic\PULSE_DOCS\PULSE_FIRMWARE\nRF5_SDK_15.0.0_a53641a\examples\peripheral\template_project\pca10040&lt;strong&gt;\blank&lt;/strong&gt;\ses&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;May be i should start with some other example that does have a softdevice 132?????&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SETTING UP A NEW PROJECT USING SDK 15</title><link>https://devzone.nordicsemi.com/thread/151848?ContentTypeID=1</link><pubDate>Fri, 05 Oct 2018 13:33:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f2482467-1174-4b9a-b2b9-abaf8e0cdc0d</guid><dc:creator>arshdeep</dc:creator><description>&lt;p&gt;Hi Andrea,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Actually i do have these files in the path mentioned in the error.&lt;/p&gt;
&lt;p&gt;You can see the path and file in my attached image .&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/bsp.PNG" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;What could be the problem now?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SETTING UP A NEW PROJECT USING SDK 15</title><link>https://devzone.nordicsemi.com/thread/151846?ContentTypeID=1</link><pubDate>Fri, 05 Oct 2018 13:08:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8a25b29d-d793-4672-b509-418c25bfcb14</guid><dc:creator>arshdeep</dc:creator><description>&lt;p&gt;Hi Andreas,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I have not included these files in my project . How&amp;nbsp;can I add them? Where&amp;nbsp;can I add the paths to the header files that I am using?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SETTING UP A NEW PROJECT USING SDK 15</title><link>https://devzone.nordicsemi.com/thread/151751?ContentTypeID=1</link><pubDate>Fri, 05 Oct 2018 05:33:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a4e47ace-485d-4335-a16a-77d92df81b4b</guid><dc:creator>AndreasF</dc:creator><description>&lt;p&gt;Hi Arshdeep.&lt;/p&gt;
&lt;p&gt;Your first problem was missing the micro-ecc library. Your latest problem no seems to be that you haven&amp;#39;t included some files, as the error code states. Have you included these files to your project? &lt;strong&gt;bsp.c, nrf_hw_backend_rng.c, nrf_hw_backend_init.c, and nrf_hw_backend_rng_mbedtis.c&lt;/strong&gt;? You also need to include any paths to header files these files include in their code.&lt;/p&gt;
&lt;p&gt;- Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SETTING UP A NEW PROJECT USING SDK 15</title><link>https://devzone.nordicsemi.com/thread/151727?ContentTypeID=1</link><pubDate>Thu, 04 Oct 2018 19:52:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6884f350-e17d-4f19-996f-52e48987d531</guid><dc:creator>arshdeep</dc:creator><description>&lt;p&gt;Hi Andreas,&lt;/p&gt;
&lt;p&gt;So, i had a copy of template folder in my custom folder. This has been a problem for me before as well. So, i cut everything from that folder and copied into my custom folder. Now that I build my program, I see these following errors: (Attcahed image ).&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/3618.ERROR.PNG" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Again i am missing few files. How do i solve this?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SETTING UP A NEW PROJECT USING SDK 15</title><link>https://devzone.nordicsemi.com/thread/151725?ContentTypeID=1</link><pubDate>Thu, 04 Oct 2018 19:43:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:15a6f783-11ae-4269-b691-b6ed11dce9e4</guid><dc:creator>arshdeep</dc:creator><description>&lt;p&gt;Hi Andreas,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks for the reply. I am using SES environment , do i still need to install Micro-ecc library ? I believe SES already has the toolchain setup for quick development. Do you think it&amp;#39;s some other problem? May be i don&amp;#39;t have path for it defined somewhere or something like that?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SETTING UP A NEW PROJECT USING SDK 15</title><link>https://devzone.nordicsemi.com/thread/151332?ContentTypeID=1</link><pubDate>Wed, 03 Oct 2018 06:45:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:23f84352-63ac-486f-9713-416436689bbf</guid><dc:creator>AndreasF</dc:creator><description>&lt;p&gt;Hi Arshdeep.&lt;/p&gt;
&lt;p&gt;Looks like you are missing the micro-ecc library. Please see&lt;a href="http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk5.v15.0.0%2Flib_crypto_backend_micro_ecc.html&amp;amp;resultof=%22%6d%69%63%72%6f%2d%65%63%63%22%20"&gt; this page&lt;/a&gt; for how to install it.&lt;/p&gt;
&lt;p&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;How to add files:&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Right click on either a folder in your project or the project name (in my case &amp;quot;Project &amp;#39;ble_app_template&amp;#39; &amp;quot;)&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-84440b4377244fe08be362b910d2d7c9/pastedimage1538546517261v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;There are two options you can use:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Add New File...&lt;/strong&gt; : Creates a blank file in your project&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Add Existing File... &lt;/strong&gt;: Imports a file in your project&lt;/p&gt;
&lt;p&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Add New File...&lt;/strong&gt; &lt;strong&gt;option:&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-84440b4377244fe08be362b910d2d7c9/pastedimage1538546670410v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;/strong&gt;Here you select the file type and give it your desired name.&lt;/p&gt;
&lt;p&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Add Existing File...&lt;/strong&gt; &lt;strong&gt;option:&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-84440b4377244fe08be362b910d2d7c9/pastedimage1538546760704v3.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Here you have to navigate to the file you wish to include, in my case for examle &lt;strong&gt;ble_cus.c&lt;/strong&gt;, when I have found it in its location i select it and open it.&lt;/p&gt;
&lt;p&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/p&gt;
&lt;p&gt;Here is my result, I have created a new file called &lt;strong&gt;ble_nus.h&lt;/strong&gt; with the&amp;nbsp;&lt;strong&gt;Add New File...&lt;/strong&gt; &lt;strong&gt;option&lt;/strong&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;and imported a file called&amp;nbsp;&lt;strong&gt;&lt;/strong&gt;&lt;strong&gt;ble_cus.c&lt;/strong&gt; with the &lt;strong&gt;Add Existing File...&lt;/strong&gt; &lt;strong&gt;option&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-84440b4377244fe08be362b910d2d7c9/pastedimage1538546852477v4.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;How to include header files:&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Right click on the project (&amp;quot;Project &amp;#39;ble_app_template&amp;#39; &amp;quot; in my case), and click on &lt;strong&gt;Edit Options...&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-84440b4377244fe08be362b910d2d7c9/pastedimage1538547048594v5.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;In the &lt;strong&gt;Project Options&lt;/strong&gt; window that opens, select the option&amp;nbsp;&lt;strong&gt;Common&lt;/strong&gt; under &lt;strong&gt;Private Configurations:&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-84440b4377244fe08be362b910d2d7c9/pastedimage1538547167594v6.png" alt=" " /&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Click on the &lt;strong&gt;Preprocessor&lt;/strong&gt; option:&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-84440b4377244fe08be362b910d2d7c9/pastedimage1538547246074v7.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Add the path to the folder that contains the header file you wish to include in the window that opens and click &lt;strong&gt;OK&lt;/strong&gt;:&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-84440b4377244fe08be362b910d2d7c9/pastedimage1538547336066v8.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Note that&amp;nbsp; ../../../../../../ is needed because the path is relative to the &lt;strong&gt;.emProject&lt;/strong&gt; file in the&amp;nbsp;&lt;strong&gt;ses&lt;/strong&gt;&amp;nbsp;&lt;strong&gt;folder&lt;/strong&gt; which opened the project.&lt;/p&gt;
&lt;p&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/p&gt;
&lt;p&gt;There exists a tutorial that explores the &lt;strong&gt;ble_app_template&lt;/strong&gt; project by adding advertising, services and characteristics to the project. It is made by an employee at Nordic, you can find it &lt;a href="https://github.com/bjornspockeli/custom_ble_service_example"&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;- Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>