<?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>how do I duplicate a Segger Embedded Studio project</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/58043/how-do-i-duplicate-a-segger-embedded-studio-project</link><description>I am new to the nRF9160. I just started evaluating the board and I am able to create, compile, and download the sample projects and the asset tracker examples. I want to be able to copy a solution/project and rename it so I have a completely new solution</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 16 Dec 2022 03:08:07 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/58043/how-do-i-duplicate-a-segger-embedded-studio-project" /><item><title>RE: how do I duplicate a Segger Embedded Studio project</title><link>https://devzone.nordicsemi.com/thread/400970?ContentTypeID=1</link><pubDate>Fri, 16 Dec 2022 03:08:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ecaa82f8-fbdb-4dac-a2ae-4dc0a21bf39c</guid><dc:creator>Justin Reina</dc:creator><description>&lt;p&gt;Segger made this very difficult, here is an example with illustration for the blinky demo(s) -&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://github.com/ErisdarDemo/README/wiki/Segger-Project-Duplicate---Procedure"&gt;Segger Project Duplicate Procedure&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how do I duplicate a Segger Embedded Studio project</title><link>https://devzone.nordicsemi.com/thread/236374?ContentTypeID=1</link><pubDate>Tue, 25 Feb 2020 18:39:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5891b48a-7408-42ab-98b3-2cab89f0905a</guid><dc:creator>Timothy</dc:creator><description>&lt;p&gt;closed&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how do I duplicate a Segger Embedded Studio project</title><link>https://devzone.nordicsemi.com/thread/236368?ContentTypeID=1</link><pubDate>Tue, 25 Feb 2020 17:50:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a646e59e-acac-458f-98bb-112d99f06759</guid><dc:creator>Timothy</dc:creator><description>&lt;p&gt;can be closed&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how do I duplicate a Segger Embedded Studio project</title><link>https://devzone.nordicsemi.com/thread/236088?ContentTypeID=1</link><pubDate>Mon, 24 Feb 2020 19:27:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5670002b-0e00-47a8-8264-9c5a73edb38b</guid><dc:creator>Timothy</dc:creator><description>&lt;p&gt;Simon&lt;/p&gt;
&lt;p&gt;this worked great. I am able to duplicate a project and rename it. Thanks. we can close this ticket.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how do I duplicate a Segger Embedded Studio project</title><link>https://devzone.nordicsemi.com/thread/236065?ContentTypeID=1</link><pubDate>Mon, 24 Feb 2020 16:58:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:af73aadb-a803-4408-899f-d0e3e2506e32</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;All you need to do is to simply copy your project folder next to your initial project. E.g if you want to duplicate the project&amp;nbsp;&lt;em&gt;&amp;lt;..&amp;gt;\ncs\nrf\samples\nrf9160\my_project&amp;nbsp;&lt;/em&gt;you copy&amp;nbsp;&lt;em&gt;my_project&lt;/em&gt;, paste it into&amp;nbsp;&lt;em&gt;&amp;lt;..&amp;gt;\ncs\nrf\samples\nrf9160&amp;nbsp;&lt;/em&gt;and rename it to e.g. &lt;em&gt;my_project2. &lt;/em&gt;You may have to clean/delete the build folder in order to build it again.&lt;/p&gt;
&lt;p&gt;You should be aware of several things when copying your project to a new location:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;If your project depends on changes done to any of the repositories in NCS, you can not copy it into a new NCS without those changes.
&lt;ul&gt;
&lt;li&gt;You should try to avoid changing any of the NCS repos at all costs. E.g.&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/56459/watchdog-with-bootloader-on-nrf9160"&gt;this approach&lt;/a&gt; let&amp;#39;s you modify configurations for child images. This works for the device tree as well (set(&amp;lt;image_name&amp;gt;_DTC_OVERLAY_FILE ${CMAKE_CURRENT_SOURCE_DIR}/&amp;lt;name&amp;gt;.overlay))&lt;/li&gt;
&lt;li&gt;If you have to modify the NCS repos, you can make a pull request to the upstream, or use &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/ug_dev_model.html#workflow-4-application-as-the-manifest-repository"&gt;this workflow&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;If your project includes paths depending on your location of the project, it will not work if the folder depth is different. A good practice is to use absolute paths relative to ZEPYR_BASE, like it&amp;#39;s done &lt;a href="https://github.com/NordicPlayground/fw-nrfconnect-nrf/blob/v1.2.0/samples/nrf9160/at_client/CMakeLists.txt#L9"&gt;here&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;If you copy it outside the NCS folder, make sure to set the ZEPHYR_BASE, as well at the toolchain env. variables&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;
&lt;div style="left:209px;top:158px;"&gt;
&lt;div&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how do I duplicate a Segger Embedded Studio project</title><link>https://devzone.nordicsemi.com/thread/235572?ContentTypeID=1</link><pubDate>Thu, 20 Feb 2020 19:01:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e1adefab-c8fb-4efd-9645-6b2cd0fe644e</guid><dc:creator>Timothy</dc:creator><description>&lt;p&gt;Simon&lt;/p&gt;
&lt;p&gt;I do NOT want to make a project from scratch. I have a working project &amp;quot;asset tracker&amp;quot; that has most of the components and operations I need.&lt;/p&gt;
&lt;p&gt;It is a very complicated program with may levels of folders and files that all interact and a complicated build system.&lt;/p&gt;
&lt;p&gt;I want to duplicate that file with a new name &amp;quot;my name&amp;quot; and build it. That way I know exactly what is working and where everything is but going forward it a new project with a new name. It just started out identical to asset tracker.&lt;/p&gt;
&lt;p&gt;If I start from scratch the odds that I can create the exact asset tracker are minimal.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;is there a process to duplicate a project? With all of the great examples that you provide I cannot believe that this has not been solved. surely customers want to start with one of your examples for their application.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how do I duplicate a Segger Embedded Studio project</title><link>https://devzone.nordicsemi.com/thread/235462?ContentTypeID=1</link><pubDate>Thu, 20 Feb 2020 13:19:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:57331e12-dd2c-459e-81f2-3047ef3ad07d</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;Check out this tutorial:&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/nordic/cellular-iot-guides/b/getting-started-cellular/posts/nrf-connect-sdk-tutorial"&gt;https://devzone.nordicsemi.com/nordic/cellular-iot-guides/b/getting-started-cellular/posts/nrf-connect-sdk-tutorial&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;This will show you have to create a project from scratch, both using SEGGER and west. Be aware that it&amp;#39;s written using NCS v1.0.0 (the latest is v1.2.0), but it will be updated in the near future.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>