<?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>Starting clean nRF52 Embedded C++ Segger Embedded Studio project</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/30122/starting-clean-nrf52-embedded-c-segger-embedded-studio-project</link><description>I am starting to refactor some nRF52832 code, from an Embedded C++ Eclipse based project, into a new Segger Embedded Studio project. 
 All of the videos I have found rely on using an example from the nRF5 SDK. However, I want to start a clean project</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 01 Jun 2018 20:19:56 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/30122/starting-clean-nrf52-embedded-c-segger-embedded-studio-project" /><item><title>RE: Starting clean nRF52 Embedded C++ Segger Embedded Studio project</title><link>https://devzone.nordicsemi.com/thread/134410?ContentTypeID=1</link><pubDate>Fri, 01 Jun 2018 20:19:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:49688226-cb59-4633-9af8-ac9f47e284b7</guid><dc:creator>rdpoor</dc:creator><description>&lt;p&gt;That&amp;#39;s a cleaner approach -- thanks for the tip.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Starting clean nRF52 Embedded C++ Segger Embedded Studio project</title><link>https://devzone.nordicsemi.com/thread/134409?ContentTypeID=1</link><pubDate>Fri, 01 Jun 2018 19:56:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:31b0660f-2f01-4e80-8dd4-a055b14e924f</guid><dc:creator>james.eberhardt</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/members/fearless_5f00_fool"&gt;rdpoor&lt;/a&gt; - Instead of the examples folder, I like to put my projects in another folder, separate from the examples. It does mean that the folder should be at the same level as &amp;#39;examples&amp;#39;.&amp;nbsp; For example: &lt;em&gt;&lt;strong&gt;/nRF5_SDK_15.0.0/projects/client_name/app_name/&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Starting clean nRF52 Embedded C++ Segger Embedded Studio project</title><link>https://devzone.nordicsemi.com/thread/129641?ContentTypeID=1</link><pubDate>Tue, 24 Apr 2018 21:28:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0800b0ab-de03-4d5a-a56c-30034ffc65a7</guid><dc:creator>rdpoor</dc:creator><description>&lt;p&gt;I came to this page looking for a way to create a new project without&amp;nbsp;overwriting an existing example project or needing to update a zillion pathnames for include and library files.&amp;nbsp; After poking around, this approach seems to work:&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/30862/create-a-new-project-in-segger-embedded-stuido/129639#129639"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/30862/create-a-new-project-in-segger-embedded-stuido/129639#129639&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;It&amp;#39;s not perfect (it requires that you create your projects&amp;nbsp;in a personal directory in the /examples directory), but it met my requirements.&amp;nbsp; You&amp;#39;ll still need to update it with&amp;nbsp;&lt;span&gt;`extern &amp;quot;C&amp;quot;{}` ... declarations for C++ code.&amp;nbsp; Hope this helps.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Starting clean nRF52 Embedded C++ Segger Embedded Studio project</title><link>https://devzone.nordicsemi.com/thread/121839?ContentTypeID=1</link><pubDate>Fri, 23 Feb 2018 17:20:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1194a45f-5c2f-4c5c-bb05-1f9caca99350</guid><dc:creator>RenatoMorelli</dc:creator><description>&lt;p&gt;Now I see, I need to change the makefile to support c++ files and add some `extern &amp;quot;C&amp;quot;{}` in pure C files.&lt;/p&gt;
&lt;p&gt;Do anyone has an example makefile for c++ projects?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Starting clean nRF52 Embedded C++ Segger Embedded Studio project</title><link>https://devzone.nordicsemi.com/thread/121732?ContentTypeID=1</link><pubDate>Thu, 22 Feb 2018 17:45:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:60f345af-8996-4514-ae36-e3f325164b81</guid><dc:creator>RenatoMorelli</dc:creator><description>&lt;p&gt;I am facing some problems with c++ code too. If I just rename the extension from c to cpp, the project doesn&amp;#39;t compile anymore and throws the following error:&lt;/p&gt;
&lt;p&gt;&amp;quot;expected constructor, destructor, or type conversion before &amp;lsquo;(&amp;rsquo; token &amp;quot;&lt;/p&gt;
&lt;p&gt;to the line&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;#define STATIC_ASSERT_SIMPLE(EXPR)      _Static_assert(EXPR, &amp;quot;unspecified message&amp;quot;)&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Starting clean nRF52 Embedded C++ Segger Embedded Studio project</title><link>https://devzone.nordicsemi.com/thread/120546?ContentTypeID=1</link><pubDate>Mon, 12 Feb 2018 10:38:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c18f6ea7-649b-44d2-b7cf-c2a25748c33a</guid><dc:creator>Joakim Jakobsen</dc:creator><description>&lt;p&gt;Ok, then I&amp;#39;m not sure if we have any example/tutorial that will suit your needs. &lt;/p&gt;
&lt;p&gt;The examples we provide can be found in our SDK, or on one of Nordic Semiconductor&amp;#39;s GitHub accounts (&lt;a href="https://github.com/NordicSemiconductor" rel="noopener noreferrer" target="_blank"&gt;Nordic Semiconductor&lt;/a&gt; / &lt;a href="https://github.com/NordicPlayground" rel="noopener noreferrer" target="_blank"&gt;Nordic Semiconductor Playground&lt;/a&gt;).&lt;/p&gt;
&lt;p&gt;As for the configuration wizard, I can check with SEGGER if that is something they are working on implementing. &lt;br /&gt;In the meantime, I would say the CMSIS Configuration Wizard is the best way to go. &lt;/p&gt;
[quote user="matt_breezi"]Also, currently I am having difficulty getting it to work as an external tool in SES[/quote]
&lt;p&gt;Could you try to explain a bit closer what the problem might be? &lt;br /&gt;We have a &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v14.2.0/sdk_config.html" rel="noopener noreferrer" target="_blank"&gt;infocenter-page&lt;/a&gt; with explanations about how to set up the CMSIS CW. Also, you can check out our &lt;a href="https://www.youtube.com/watch?v=b0MxWaAjMco" rel="noopener noreferrer" target="_blank"&gt;youtube-video&lt;/a&gt; explaining the same thing.&lt;/p&gt;
&lt;p&gt;Best regards.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Starting clean nRF52 Embedded C++ Segger Embedded Studio project</title><link>https://devzone.nordicsemi.com/thread/120013?ContentTypeID=1</link><pubDate>Tue, 06 Feb 2018 19:50:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c47673e4-d1df-4946-9013-e33c24365c34</guid><dc:creator>matt_C</dc:creator><description>&lt;p&gt;Hi Joakim,&lt;/p&gt;
&lt;p&gt;That was what I was wanting. I looked at the ble_app_template, but decided it wasn&amp;#39;t really what I needed. One big difference is we are using C++.&lt;/p&gt;
&lt;p&gt;We already have C++ code we have written in Attollic, before they were bought by ST Micro, so we are trying to refactor it over into Segger Embedded Studio.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Also, I am using the Mac OS version of SES. Do you know if their are plans to build in a better configuration wizard, like the one in Keil, into SES? I used the CMSIS Configuration Wizard earlier in Windows, with Attolic, but it leaves a lot to be desired. Also, currently I am having difficulty getting it to work as an external tool in SES.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks,&lt;br /&gt;Matt&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Starting clean nRF52 Embedded C++ Segger Embedded Studio project</title><link>https://devzone.nordicsemi.com/thread/119565?ContentTypeID=1</link><pubDate>Fri, 02 Feb 2018 15:04:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b6ab33e2-2ec9-41d3-b807-ef764b12d36f</guid><dc:creator>Joakim Jakobsen</dc:creator><description>&lt;p&gt;Hi Matt!&lt;/p&gt;
&lt;p&gt;I&amp;#39;m not quite sure if I understand what you are trying do to. &lt;/p&gt;
[quote user=""]I want to start a clean project that uses the nRF5 SDK[/quote]
&lt;p&gt;What do you mean by this? Do you want to start a new project and add all the settings and files from the SDK yourself?&lt;/p&gt;
&lt;p&gt;I would say that using an exsisting project from the SDK would be the easiest way to go. You can pick the example that is the closest to what you are trying to acheive and modify that to fit your needs. Either that or using the ble_app_template which, as the name suggests, can be used as a template for your project. &lt;br /&gt;In the ble_app_template example you have to add most of the code yourself, like services, characteristics, timers etc.&lt;/p&gt;
&lt;p&gt;Please let me know if I misunderstood you in any way.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Joakim.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>