<?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 a new project from example code in nrf5sdk/replicating example code in new project</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/69174/creating-a-new-project-from-example-code-in-nrf5sdk-replicating-example-code-in-new-project</link><description>Hello, 
 I was trying to recreate the blinky program for the nrf52840dk using the nRF5sdk using Segger embedded studio. 
 I tried doing it by opening the blinky example code and it works but when I tried to copy-paste the blinky folder in a new folder</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 09 Dec 2020 15:50:04 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/69174/creating-a-new-project-from-example-code-in-nrf5sdk-replicating-example-code-in-new-project" /><item><title>RE: Creating a new project from example code in nrf5sdk/replicating example code in new project</title><link>https://devzone.nordicsemi.com/thread/284151?ContentTypeID=1</link><pubDate>Wed, 09 Dec 2020 15:50:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:97f93143-cb8b-43dc-bfef-893319e4cf7b</guid><dc:creator>refer_pin</dc:creator><description>[quote userid="77782" url="~/f/nordic-q-a/69174/creating-a-new-project-from-example-code-in-nrf5sdk-replicating-example-code-in-new-project/283952#283952"]duplicate the project to&amp;nbsp;a&amp;nbsp;&lt;span&gt;separate folder from the nrf5 sdk folder and then edit the path for source files and header files.&lt;/span&gt;[/quote]
&lt;p&gt;I&amp;#39;ll try this first and I&amp;#39;ll go back here if to tell my progress&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Creating a new project from example code in nrf5sdk/replicating example code in new project</title><link>https://devzone.nordicsemi.com/thread/283952?ContentTypeID=1</link><pubDate>Wed, 09 Dec 2020 07:24:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:67862ae5-2e17-407f-9072-efa3a3a5714c</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I would still suggest you duplicate the project to&amp;nbsp;a&amp;nbsp;&lt;span&gt;separate folder from the nrf5 sdk folder and then edit the path for source files and header files.&amp;nbsp;&lt;/span&gt;&lt;span&gt;You might be interested in this similar &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/30862/create-a-new-project-in-segger-embedded-stuido"&gt;post&lt;/a&gt;.&amp;nbsp;To be quite honest, I will always base my new projects on existing example projects.&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;-Amanda H.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Creating a new project from example code in nrf5sdk/replicating example code in new project</title><link>https://devzone.nordicsemi.com/thread/283930?ContentTypeID=1</link><pubDate>Wed, 09 Dec 2020 00:24:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:48bfbb62-3a3c-420a-b382-be5359db2f05</guid><dc:creator>refer_pin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Duplicating it works but what about if I want to create a new project using the example code in a completely separate folder from the nrf5 sdk folder, what are the steps I need to do in order to use the example code and add only the necessary files to the project?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Creating a new project from example code in nrf5sdk/replicating example code in new project</title><link>https://devzone.nordicsemi.com/thread/283701?ContentTypeID=1</link><pubDate>Tue, 08 Dec 2020 07:10:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7737c71f-a568-432a-8d6f-72f3fff15b54</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;You can remove the unnecessary program from the duplicated project as you want.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;-Amanda H.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Creating a new project from example code in nrf5sdk/replicating example code in new project</title><link>https://devzone.nordicsemi.com/thread/283660?ContentTypeID=1</link><pubDate>Mon, 07 Dec 2020 18:32:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c5def27b-1d9f-4d86-9892-a15bed13e7b0</guid><dc:creator>refer_pin</dc:creator><description>&lt;p&gt;Yes, thank you. That works but now, how do I create a separate program for that blinky program only without the other unnecessary programs?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Creating a new project from example code in nrf5sdk/replicating example code in new project</title><link>https://devzone.nordicsemi.com/thread/283642?ContentTypeID=1</link><pubDate>Mon, 07 Dec 2020 16:54:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0daa499a-d377-4bc4-a747-a970e301b879</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;No,&amp;nbsp;&lt;span&gt;&amp;nbsp;duplicate the example project and modify the code as you want.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;-Amanda H.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Creating a new project from example code in nrf5sdk/replicating example code in new project</title><link>https://devzone.nordicsemi.com/thread/283629?ContentTypeID=1</link><pubDate>Mon, 07 Dec 2020 15:49:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0a2316d9-3373-4aba-b256-8b2f1b6b0f9b</guid><dc:creator>refer_pin</dc:creator><description>&lt;p&gt;Do I duplicate it in the same folder?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Creating a new project from example code in nrf5sdk/replicating example code in new project</title><link>https://devzone.nordicsemi.com/thread/283526?ContentTypeID=1</link><pubDate>Mon, 07 Dec 2020 12:00:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8eb5d771-25ab-4577-8d4d-5bf18ae5c740</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Please see the&amp;nbsp;&lt;span&gt;&lt;a title="Adding files" href="https://infocenter.nordicsemi.com/topic/ug_gsg_ses/UG/gsg/add_content_ses.html?cp=1_1_2_7_5"&gt;Adding files&lt;/a&gt;&amp;nbsp;documentation.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
[quote user=""]what is the better way to create the modification of the code in a new file without changing the original source code from the examples folder of nRF5 sdk?[/quote]
&lt;p&gt;I would suggest you duplicate the example project as the base development.&lt;/p&gt;
&lt;p&gt;-Amanda H.&amp;nbsp; &amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>