<?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>Creating new projects...</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/54584/creating-new-projects</link><description>I have read a number of posts here about creating new projects, most are a couple of years old. I just want to make sure I&amp;#39;m not missing anything. 
 I am able to compile and run the examples on the evaluation kit. I&amp;#39;m using the Segger IDE and the BMD</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 19 Nov 2019 22:09:36 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/54584/creating-new-projects" /><item><title>RE: Creating new projects...</title><link>https://devzone.nordicsemi.com/thread/220952?ContentTypeID=1</link><pubDate>Tue, 19 Nov 2019 22:09:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3c3e6818-0048-4707-ac67-58dd0c98285a</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Hello&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/members/jbmillard"&gt;jbmillard&lt;/a&gt;,&lt;/p&gt;
[quote user=""]I am able to compile and run the examples on the evaluation kit. &amp;nbsp;I&amp;#39;m using the Segger IDE and the BMD-300 Series Evaluation Kit. &amp;nbsp;I want to create a new project based on an example and I have copied an example and renamed it and get a bunch of errors when try to compile -- because the paths appear to be individually hardcoded for every file and they are relative.[/quote]
&lt;p&gt;Can I ask what SDK version you are using? I&amp;#39;m glad to hear that you are able to compile and run our examples.&amp;nbsp;&lt;/p&gt;
[quote user=""]1) Most of the posts here say to start with an example. &amp;nbsp;It would appear that you either have to keep your development code in the SDK examples tree (so the relative paths work) or modify the examples. &amp;nbsp; The only other choice is to copy a project and manually change every include path -- is this true?[/quote]
&lt;p&gt;&amp;nbsp;Yes, we do encourage people to start with a sample, e.g. our &lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v16.0.0/ble_sdk_app_template.html?cp=6_1_4_2_2_23"&gt;template application&lt;/a&gt;. This is to ensure that everything is included from the start, meaning libraries, bluetooth stack (SoftDevice), and drivers. There are some suggestions on how to do this easier, have a look at &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/28196/graduating-from-example-to-production-project-file-structure"&gt;this thread&lt;/a&gt;&amp;nbsp;and &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/30177/do-folks-just-develop-inside-the-sdk-itself/119936#119936"&gt;this thread&lt;/a&gt;.&amp;nbsp;Yes, I agree that these are a couple of years old, but the principle is the same.&amp;nbsp;&lt;/p&gt;
[quote user=""]2) If you create new projects in the examples directory, how do you do upgrades/updates to the SDK? &amp;nbsp;Download, install and then copy all your projects to the new directory? &amp;nbsp;Please tell this isn&amp;#39;t what we have to do.[/quote]
&lt;p&gt;There are only major differences between major releases, such as v15.3 to v16. Between minor releases, the API is usually the same, i.e. &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/45168/where-i-can-find-the-migration-guide-from-sdk-15-2-to-sdk-15-3-please/177907#177907"&gt;between 15.2 to 15.3&lt;/a&gt;. Our &lt;a href="https://infocenter.nordicsemi.com/topic/struct_sdk/struct/sdk_nrf5_latest.html?cp=6_1"&gt;current SDK documentation&lt;/a&gt; for v16 includes a &lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v16.0.0/migration.html?cp=6_1_1_8"&gt;migration guide&lt;/a&gt; on how to transition from 15.3 to 16.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Our current getting started guides are available in &lt;a href="https://devzone.nordicsemi.com/nordic/short-range-guides/"&gt;our tutorial section&lt;/a&gt;, and I agree that not all are up-to-date.&amp;nbsp;There are, however, other sites that give Getting Started Tutorials. I suggest looking into &lt;a href="https://www.novelbits.io/"&gt;www.novelbits.io&lt;/a&gt;, which has several good guides to start with e.g. &lt;a href="https://www.novelbits.io/smart-ble-lightbulb-application-nrf52/"&gt;BLE LightBulb&lt;/a&gt;.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user=""]In our development environment, I typically install customer software on C:\ (should really be Program Files, but many seem to want it in the root) and then do development on a networked Z drive which is backed up continuously. With relative paths, this is going to make creating new projects a pain and error prone.[/quote]
&lt;p&gt;&amp;nbsp;Have a look at &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/32524/segger-embedded-studio-relative-paths"&gt;this answer&lt;/a&gt;&amp;nbsp;regarding relative paths in SES.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Let me know if anything is unclear!&lt;br /&gt;&lt;br /&gt;Kind regards,&lt;br /&gt;Øyvind&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>