<?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>New nRF Project Creation using nRF Connect SDK</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/82470/new-nrf-project-creation-using-nrf-connect-sdk</link><description>I am new to Nordic. I installed nRF Desptop Connector. I have opened succesfully the sample nRF projects. Now, I want create my own new nRF Connect Project. I tried two ways: 
 1. First created a new folder named &amp;quot;First&amp;quot; in &amp;quot;C:\nrc\v1.7.1&amp;quot;. I tried to</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 08 Dec 2021 16:27:54 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/82470/new-nrf-project-creation-using-nrf-connect-sdk" /><item><title>RE: New nRF Project Creation using nRF Connect SDK</title><link>https://devzone.nordicsemi.com/thread/342589?ContentTypeID=1</link><pubDate>Wed, 08 Dec 2021 16:27:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0232af28-3da6-4ba1-8146-a686a7fe82fd</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Some points here:&lt;/p&gt;
&lt;p&gt;The nRF Connect SDK is buildt on Zepjhyr, so you will be using Zephyr either way.&lt;/p&gt;
&lt;p&gt;The nRF5340 is a 32 bit microcontroller, so registers will be 32 bits, not 8 bit.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;To toggle LEDs, I would recommend using the GPIO API in Zephyr, see the &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.7.1/zephyr/samples/basic/blinky/README.html"&gt;Blinky sample&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Sigurd Hellesvik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: New nRF Project Creation using nRF Connect SDK</title><link>https://devzone.nordicsemi.com/thread/342454?ContentTypeID=1</link><pubDate>Wed, 08 Dec 2021 04:47:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6c7e95fa-6076-4c3f-8c5f-e662fb3d3efa</guid><dc:creator>mexco</dc:creator><description>&lt;p&gt;Dear Hellesvik.. thanks for your vakued suopport and guidance. In continuation before closing this ticket, may you guide lilte more:&amp;nbsp; I want to test a simple program on the nRF5340_DK kit in which an normal LCD16X2 is to be interfaced.&lt;/p&gt;
&lt;p&gt;1. How to define the Port Pins e.g.: in some generic compilers the port pins and port can be defined as below&amp;nbsp;&lt;/p&gt;
&lt;p&gt;#define RS P0.4&lt;/p&gt;
&lt;p&gt;#define EN P0.5&lt;/p&gt;
&lt;p&gt;#define lcd_port P0&lt;/p&gt;
&lt;p&gt;//******&lt;/p&gt;
&lt;p&gt;But, how to define 1 bit, 4 bit, 8 bit interface in SES with/ without Zephyre. May you&amp;nbsp;show a small function&amp;nbsp; to:&lt;/p&gt;
&lt;p&gt;1. Define the Individual Port Pins&lt;/p&gt;
&lt;p&gt;2. Define 8 bit Port&lt;/p&gt;
&lt;p&gt;3. Sent data to 8 bit Port&lt;/p&gt;
&lt;p&gt;4. Set Pin and Clear Pin&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;2. To write a program to interface Button, Leds and LCD, which Zephyr files are required to include at Minimum in the project.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: New nRF Project Creation using nRF Connect SDK</title><link>https://devzone.nordicsemi.com/thread/342266?ContentTypeID=1</link><pubDate>Tue, 07 Dec 2021 09:15:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9f982a91-b28e-4f67-a075-a3b0b1563fbb</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;That is fine, we still support Segger Embedded Studio.&lt;/p&gt;
&lt;p&gt;Your project may be in any folder.&lt;/p&gt;
&lt;p&gt;Steps to copy project:&lt;/p&gt;
&lt;p&gt;1. Find similar project. Let us use hello world for this example, as it is an easy sample.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1638868142712v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Then copy the whole folder:&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1638868168828v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;And rename it:&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1638868200197v3.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Let us move the folder to another place, to showcase this. I put it in Documents/tmp:&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1638868283249v4.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Now in Segger Embedded Studio:&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1638868321808v5.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Chose the new folder:&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1638868380048v6.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;And the finished options for opening the project should look something like this:&lt;br /&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1638868436725v7.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Disregard my &amp;quot;nRF Connect SDK Release&amp;quot; and &amp;quot;nRF Connect Toolchain Version&amp;quot;. These are different due to me using Linux.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Does this explain what you want to know?&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Sigurd Hellesvik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: New nRF Project Creation using nRF Connect SDK</title><link>https://devzone.nordicsemi.com/thread/342257?ContentTypeID=1</link><pubDate>Tue, 07 Dec 2021 08:34:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:05ee9e28-c9b7-45aa-a1b9-d7ced1be5a82</guid><dc:creator>mexco</dc:creator><description>&lt;p&gt;Respected Hellesvik.. thanks for your reply. We are to work using SES only and can not switch to VS. Secondly, you suggested to copy the example. Which files and folders should be copied from sample to new project ? May you send screen shots or any video link ? My another relevent query is : May the new project&amp;nbsp;be created in another Drive and/or folder than ....nrc/v1.7.1 ?&lt;/p&gt;
&lt;p&gt;Gulzar Singh&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: New nRF Project Creation using nRF Connect SDK</title><link>https://devzone.nordicsemi.com/thread/342250?ContentTypeID=1</link><pubDate>Tue, 07 Dec 2021 08:18:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6ab4589e-169a-416c-a23a-620517c13053</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;Hi Gulzar&lt;/p&gt;
&lt;p&gt;If you are new to developing with Nordic, I advise you to use the &lt;a href="https://www.nordicsemi.com/Products/Development-tools/nRF-Connect-for-VS-Code"&gt;nRF Connect Extension for VS Code&lt;/a&gt;.&lt;br /&gt;This has a nice collection of &lt;a href="https://www.youtube.com/playlist?list=PLx_tBuQ_KSqEt7NK-H7Lu78lT2OijwIMl"&gt;videos&lt;/a&gt; to get you started, as well as a more in-depth &lt;a href="https://webinars.nordicsemi.com/introducing-nrf-connect-for-vs-code-5"&gt;webinar &lt;/a&gt;if you want to learn more on it.&lt;/p&gt;
&lt;p&gt;In addition, to learn more on the basics of nRF Connect SDK, I recommend &lt;a href="https://devzone.nordicsemi.com/guides/nrf-connect-sdk-guides/b/getting-started/posts/nrf-connect-sdk-tutorial---part-1-ncs-v1-4-0"&gt;this tutorial&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;To answer your question:&lt;/p&gt;
&lt;p&gt;A project in nRF Connect SDK is a folder with at minimum the following parts:&lt;/p&gt;
&lt;p&gt;CMakeLists.txt&lt;br /&gt;prj.conf&lt;br /&gt;a src folder with .c file(s) inside&lt;/p&gt;
&lt;p&gt;Here is an example of a minimal application&lt;br /&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1638864589332v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;The CMakeLists.txt will point to your C files, for example like this:&lt;br /&gt;&amp;quot;target_sources(app PRIVATE src/main.c)&amp;quot;&lt;/p&gt;
&lt;p&gt;When you choose &amp;quot;project&amp;quot;, Segger Embedded Studio will only look for a folder containing the mentioned files.&lt;br /&gt;To create a new project, you need to find an example, then copy it manually.&lt;br /&gt;Then you can chose this new folder as if it were an existing project.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Sigurd Hellesvik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>