<?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>Create a new project in Segger Embedded Stuido</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/30862/create-a-new-project-in-segger-embedded-stuido</link><description>Hello. 
 Actually I have two qustions, but they are related with the same challenge. 
 So, I want to develop application using SDK (libararies and config), but starting from empty project. To create empty buildable project for nRF52DK I need to include</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 07 Jan 2022 05:35:57 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/30862/create-a-new-project-in-segger-embedded-stuido" /><item><title>RE: Create a new project in Segger Embedded Stuido</title><link>https://devzone.nordicsemi.com/thread/346590?ContentTypeID=1</link><pubDate>Fri, 07 Jan 2022 05:35:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:61ebaa19-533a-4791-b9f5-098394bf1549</guid><dc:creator>kalmesh</dc:creator><description>&lt;p&gt;Hi everyone&lt;/p&gt;
&lt;p&gt;Even i have the same issue i mean creating the new project is simple but adding the related files to it seems difficult one&lt;/p&gt;
&lt;p&gt;Can anyone suggest me how can i add the remaining files to the newly created project..??&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Kalmesh&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Create a new project in Segger Embedded Stuido</title><link>https://devzone.nordicsemi.com/thread/221100?ContentTypeID=1</link><pubDate>Wed, 20 Nov 2019 13:48:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9df0585d-368f-46b6-a750-f019c3ca1743</guid><dc:creator>haakonsh</dc:creator><description>&lt;p&gt;Then you will have to edit every path.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Create a new project in Segger Embedded Stuido</title><link>https://devzone.nordicsemi.com/thread/220939?ContentTypeID=1</link><pubDate>Tue, 19 Nov 2019 18:39:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6c92883c-07cb-4ed2-b4c0-f3a562cacf5a</guid><dc:creator>jbmillard</dc:creator><description>&lt;p&gt;Would you expand on this? &amp;nbsp;How would you copy a project? &amp;nbsp;I tried this and it looks like I&amp;#39;m going to have to edit every path in the project file. I don&amp;#39;t want all my projects in the SDK examples directories.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Create a new project in Segger Embedded Stuido</title><link>https://devzone.nordicsemi.com/thread/205037?ContentTypeID=1</link><pubDate>Tue, 20 Aug 2019 12:50:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:69a5cfe2-03b1-4bbb-b788-e29789e01e10</guid><dc:creator>haakonsh</dc:creator><description>&lt;p&gt;No, not to create one from scratch. If you want to customize the project I suggest you copy an example and modify the project file itself. The segger embedded studio project file is an XML file that&amp;#39;s fairly easy to read and re-write.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Create a new project in Segger Embedded Stuido</title><link>https://devzone.nordicsemi.com/thread/203428?ContentTypeID=1</link><pubDate>Sat, 10 Aug 2019 10:06:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1937db6d-97c2-40b0-b9f5-4f21cc0f8f80</guid><dc:creator>nngohel</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/members/haakonsh"&gt;haakonsh&lt;/a&gt; There is no such video which give a help to create a new project.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Create a new project in Segger Embedded Stuido</title><link>https://devzone.nordicsemi.com/thread/192413?ContentTypeID=1</link><pubDate>Wed, 12 Jun 2019 13:39:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6629b541-8c00-4064-953c-7f64c55ca36f</guid><dc:creator>haakonsh</dc:creator><description>&lt;p&gt;Not that I&amp;#39;ve heard. Most of the focus of our work with SES is on functionality with the future nRF Connect SDKs.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;To be quite frank, I will always base my new projects on existing example projects.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Create a new project in Segger Embedded Stuido</title><link>https://devzone.nordicsemi.com/thread/192390?ContentTypeID=1</link><pubDate>Wed, 12 Jun 2019 13:01:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:472eae95-2b27-406f-96d5-eecb44048dfc</guid><dc:creator>EvanJohnson</dc:creator><description>&lt;p&gt;Hey Haakonsh,&lt;/p&gt;
&lt;p&gt;Any update on if the &amp;quot;New Project Wizard&amp;quot; is in the works? Creating new projects still haunt me.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Create a new project in Segger Embedded Stuido</title><link>https://devzone.nordicsemi.com/thread/129875?ContentTypeID=1</link><pubDate>Thu, 26 Apr 2018 07:45:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bce874e5-d73b-487e-800d-1d86330e5ae4</guid><dc:creator>haakonsh</dc:creator><description>&lt;p&gt;This really is an IDE problem and not a SDK folder structure problem.&amp;nbsp;Automated&amp;nbsp;search paths&amp;nbsp;for header files should have been a solved problem by now, IDE development for embedded systems is lagging years behind the rest of the SW world.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;I am as annoyed as you are whenever is have to manually input paths of a newly added driver or library, let alone starting a project from scratch.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;It would be nice if the IDEs search path was fully recursive from the SDK root folder.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;As Robert suggests a &amp;quot;New Project Wizard&amp;quot; is a good idea, but its a lot of work when we have to support Keil, IAR, SES, and every other GCC/CLANG based IDE.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;I will forward your requests to the SDK team, maybe we can influence the architecture of our next major SDK release, next year.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Create a new project in Segger Embedded Stuido</title><link>https://devzone.nordicsemi.com/thread/129839?ContentTypeID=1</link><pubDate>Wed, 25 Apr 2018 16:17:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6295402c-17ad-442d-abde-0775eba39ac8</guid><dc:creator>rdpoor</dc:creator><description>&lt;p&gt;FWIW, the search path chaos isn&amp;#39;t limited to the Nordic SDK -- the NXP Kinetis Development Studio and corresponding SDK suffers a similar problem.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;In addition to (or in lieu of) your suggestions, Nordic could offer a &amp;quot;New Project Wizard&amp;quot; that sets up all the search paths for you.&amp;nbsp; I&amp;#39;d be fine with that.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Create a new project in Segger Embedded Stuido</title><link>https://devzone.nordicsemi.com/thread/129811?ContentTypeID=1</link><pubDate>Wed, 25 Apr 2018 14:33:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5343d00b-e005-46a5-ad0b-2bd07e3b7bee</guid><dc:creator>robert</dc:creator><description>&lt;p&gt;Hi Haakonsh,&lt;/p&gt;
&lt;p&gt;Thanks for your comment.&amp;nbsp;My intention is&amp;nbsp;to reduce the number of folders by merging some sub-directories,&amp;nbsp;not to put &amp;quot;all&amp;quot; modules in a single folder. That would&amp;nbsp;make every one crazy if all files are in a single folder.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Create a new project in Segger Embedded Stuido</title><link>https://devzone.nordicsemi.com/thread/129702?ContentTypeID=1</link><pubDate>Wed, 25 Apr 2018 08:53:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:475ee4f9-b267-4e8c-9ef4-b71f2cdec93b</guid><dc:creator>haakonsh</dc:creator><description>&lt;p&gt;This is the way I do it too. Alternatively you can init git on the whole SDK and add the files and folders that you do not use to gitignore.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Create a new project in Segger Embedded Stuido</title><link>https://devzone.nordicsemi.com/thread/129696?ContentTypeID=1</link><pubDate>Wed, 25 Apr 2018 08:35:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1c3b3ca5-80c5-43d7-b11d-fb9ce60c8fd7</guid><dc:creator>haakonsh</dc:creator><description>&lt;p&gt;Hey Robert,&lt;/p&gt;
&lt;p&gt;I fully agree&amp;nbsp;with point (1), but I have to disagree with point (2), by putting all the modules in a single folder we loose the architectural oversight inherent in the current SDK folder structure and the accompanying SDK API documentation.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;sdk_config.h is huge and growing, that&amp;#39;s why the CMSIS Configuration Wizard is necessary.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Cheers,&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: Create a new project in Segger Embedded Stuido</title><link>https://devzone.nordicsemi.com/thread/129647?ContentTypeID=1</link><pubDate>Wed, 25 Apr 2018 02:12:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:71440f3f-9ddb-4222-82db-27e146382756</guid><dc:creator>robert</dc:creator><description>&lt;p&gt;One of the biggest issue of nRF SDK is the &amp;quot;include searching path&amp;quot;. They are really messy. I think Nordic need to re-organize the directory structure and the syntax used while including a header file. I have few suggestions for Nordic:&lt;/p&gt;
&lt;p&gt;(1) Use sub-directory name in the #include syntax. Sometimes it is better to use &amp;quot;&lt;strong&gt;#include &amp;lt;dirA/module.h&amp;gt;&lt;/strong&gt;&amp;quot; instead of &amp;quot;&lt;strong&gt;#include &amp;lt;module.h&amp;gt;&lt;/strong&gt;&amp;quot; and add full path of dirA to the include-searching path.&lt;/p&gt;
&lt;p&gt;(2) For each component in the &lt;strong&gt;components&lt;/strong&gt; directory, there is no need to create so many sub-directories. Take &amp;quot;components/ble&amp;quot; for example, there are totally 12 subdirectories there. So, we probably need to add 12 paths in the searching path. A better way is to simplify the structure such as putting most of the .c and .h files directly under &lt;strong&gt;components/ble/&lt;/strong&gt; instead of &lt;strong&gt;components/ble/xxxx/&lt;/strong&gt;. For the ble_services folder, sure, we can keep it.&lt;/p&gt;
&lt;p&gt;The above two rules can be applied to the whole nRF5 SDK. If Nordic can do this for the next SDK release then your issue will be gone.&lt;/p&gt;
&lt;p&gt;Btw, do you notice that sdk_config.h is getting bigger and bigger (12,954 lines so far). This is definitely not a good thing for software engineering.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Robert.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Create a new project in Segger Embedded Stuido</title><link>https://devzone.nordicsemi.com/thread/129639?ContentTypeID=1</link><pubDate>Tue, 24 Apr 2018 21:16:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3cb78212-85ac-48ab-a648-f57b02ae71b9</guid><dc:creator>rdpoor</dc:creator><description>&lt;p&gt;One technique that works for me is described here:&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/28196/graduating-from-example-to-production-project-file-structure"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/28196/graduating-from-example-to-production-project-file-structure&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;It&amp;#39;s a little bit cheating, but here&amp;#39;s the summary.&amp;nbsp; (Below, I&amp;#39;m using $SDK as a shorthand for the directory containing the SDK of your choice):&lt;/p&gt;
&lt;p&gt;1. Create a &amp;quot;myprojects/&amp;quot; directory under the example directory of your SDK:&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;$ mkdir $SDK/examples/myprojects&lt;/p&gt;
&lt;p&gt;2. Copy an example project of your choice into the myprojects directory, renaming it if you wish:&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;$&amp;nbsp;cp -rp $SDK/examples/peripheral/timer $SDK/examples/myprojects/test_a&lt;/p&gt;
&lt;p&gt;3. Open the .emProject inside that directory, e.g.:&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;$&amp;nbsp;open&lt;span&gt;&amp;nbsp;&lt;/span&gt;$SDK/examples/myprojects/test_a/pca10040/blank/ses/timer_pca10040.emProject&lt;/p&gt;
&lt;p&gt;Now you can modify, compile and run the app according to your needs.&lt;/p&gt;
&lt;p&gt;I only call this&amp;nbsp;&amp;quot;cheating&amp;quot; because you&amp;#39;re still building inside the SDK directory rather than a sandboxed directory of your choosing, but it works.&amp;nbsp; The biggest advantage of this approach is that you don&amp;#39;t need to update all the links to the include files and libraries and whatnot (which is really tedious).&amp;nbsp; A few points:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Theoretically, you could create a symbolic link from $SDK/examples/myprojects into a sandboxed directory of your choosing.&amp;nbsp; (I haven&amp;#39;t tried this).&amp;nbsp;&amp;nbsp;&lt;/li&gt;
&lt;li&gt;One advantage of this approach is that myprojects and all code under it is tied to the SDK that its built on.&amp;nbsp; If you update the SDK, it will be obvious that you need to re-build your code.&lt;/li&gt;
&lt;li&gt;You might wish to rename your .emProject file (and some of the references inside that file) to your actual project name, e.g. `test_a` in the above example.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The above approach works for me.&amp;nbsp; Its quick and easy.&amp;nbsp; Your mileage may vary.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Create a new project in Segger Embedded Stuido</title><link>https://devzone.nordicsemi.com/thread/129634?ContentTypeID=1</link><pubDate>Tue, 24 Apr 2018 19:37:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2a9267ad-30a5-47a4-bcce-8548927f1c19</guid><dc:creator>rdpoor</dc:creator><description>&lt;p&gt;Coming from the Eclipse / workspace view of the world, I second this question!&amp;nbsp; Like Tony, I&amp;#39;d like to start with a &lt;strong&gt;copy&lt;/strong&gt; of an example project rather than modify the example code in place.&amp;nbsp; The video series is helpful, but it doesn&amp;#39;t address this key question.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Create a new project in Segger Embedded Stuido</title><link>https://devzone.nordicsemi.com/thread/129633?ContentTypeID=1</link><pubDate>Tue, 24 Apr 2018 19:29:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:baa4ccb4-63cc-4af3-bc93-31eb8608e842</guid><dc:creator>Tony</dc:creator><description>&lt;p&gt;I also want to say that one of the main reasons to want to do this is because I don&amp;#39;t want to be modifying the existing examples and saving them in place. I want to make sure the examples stay the way they are and copy them to my new project.&lt;/p&gt;
&lt;p&gt;It would also be nice if I could reference files in another place that I won&amp;#39;t be changing, but ensure that any files I will be modifying will be my own copies and not the originals.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Create a new project in Segger Embedded Stuido</title><link>https://devzone.nordicsemi.com/thread/129632?ContentTypeID=1</link><pubDate>Tue, 24 Apr 2018 19:27:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9a316095-caa0-44f7-bdb7-18eddee77c97</guid><dc:creator>Tony</dc:creator><description>&lt;p&gt;I watched the tutorials and they don&amp;#39;t really talk about creating a new project either from scratch or from an existing project.&lt;/p&gt;
&lt;p&gt;I tried opening one of the examples and then doing Save As on the solution. It let me save it, but then all of the files in the project would not open. For example when I double click on the main.c file it says it can&amp;#39;t fine C:\main.c. That is not where I saved the solution. When I double clicked on another files it said it couldn&amp;#39;t find a file at some path like ..\..\components\ etc.&lt;/p&gt;
&lt;p&gt;It looks like all of the paths are relative to the project solution file.&lt;/p&gt;
&lt;p&gt;You see, the main thing is that I don&amp;#39;t want to be saving my own project files inside of the examples folder inside of the SDK folder. That doesn&amp;#39;t seem like a very good idea since someday I might want to update / upgrade the sdk and having my own projects files inside of it doesn&amp;#39;t make sense.&lt;/p&gt;
&lt;p&gt;So the big question everyone wants to know is what is the proper way to start a new project and save it in your own location and have all of the relative paths get fixed without having to do that all myself?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Create a new project in Segger Embedded Stuido</title><link>https://devzone.nordicsemi.com/thread/122409?ContentTypeID=1</link><pubDate>Thu, 01 Mar 2018 09:59:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:236aff91-8667-47ef-abc3-a7516fb513d9</guid><dc:creator>haakonsh</dc:creator><description>&lt;p&gt;Hey Arsenii,&lt;/p&gt;
&lt;p&gt;Take a look at our &lt;a href="https://www.youtube.com/watch?v=YZouRE_Ol8g&amp;amp;list=PLx_tBuQ_KSqGHmzdEL2GWEOeix-S5rgTV"&gt;Introduction to SES videos&lt;/a&gt;.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You should also use one of our example projects as a template.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Cheers,&lt;/p&gt;
&lt;p&gt;Håkon.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>