<?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>Debug configurations in SES</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/54686/debug-configurations-in-ses</link><description>How can I add debug and release configurations to the &amp;quot;mqtt_simple&amp;quot; project? 
 Video tutorial &amp;quot;SEGGER Embedded Studio - Build configurations&amp;quot; does not show this important step. 
 In the video, debug and release exists and can be further configured but</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 25 Nov 2019 15:03:31 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/54686/debug-configurations-in-ses" /><item><title>RE: Debug configurations in SES</title><link>https://devzone.nordicsemi.com/thread/221902?ContentTypeID=1</link><pubDate>Mon, 25 Nov 2019 15:03:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9a0e7ffb-d2b7-4c76-807a-3501249acff8</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;The way this works in NCS/Zephyr is through configurations. Take a look at the configurations under&amp;nbsp;&lt;em&gt;menu &amp;quot;Debugging Options&amp;quot;&lt;/em&gt;&amp;nbsp;in the file &lt;a href="https://github.com/NordicPlayground/fw-nrfconnect-zephyr/blob/v2.0.99-ncs1/subsys/debug/Kconfig#L34"&gt;ncs/Zephyr/subsys/debug/Kconfig&lt;/a&gt;, which can be selected to enable various debugging features. Also, take a look at the configurations under &lt;em&gt;menu &amp;quot;compiler options&amp;quot;&amp;nbsp;&lt;/em&gt;in the file &lt;a href="https://github.com/NordicPlayground/fw-nrfconnect-zephyr/blob/v2.0.99-ncs1/Kconfig.zephyr#L202"&gt;ncs/Zephyr/Kconfig.zephyr&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;E.g. if you would like to &lt;a href="https://github.com/NordicPlayground/fw-nrfconnect-zephyr/blob/v2.0.99-ncs1/Kconfig.zephyr#L238"&gt;disable optimizations&lt;/a&gt; you set&amp;nbsp;&amp;nbsp;CONFIG_DEBUG=y, or if you would like to get more information about the stack usage you set CONFIG_STACK_USAGE=y.&lt;/p&gt;
&lt;p&gt;The only thing I do&amp;nbsp;before debugging is&amp;nbsp;to set &lt;a href="https://github.com/NordicPlayground/fw-nrfconnect-zephyr/blob/v2.0.99-ncs1/Kconfig.zephyr#L238"&gt;CONFIG_DEBUG_OPTIMIZATION=y&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;
&lt;div style="left:240px;top:72.1563px;"&gt;
&lt;div&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Debug configurations in SES</title><link>https://devzone.nordicsemi.com/thread/221542?ContentTypeID=1</link><pubDate>Fri, 22 Nov 2019 12:16:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:87422ae4-3477-4867-bd61-691ef19315b9</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;I will look into this, in the meanwhile, you could take a look at the &lt;a href="https://devzone.nordicsemi.com/nordic/cellular-iot-guides/b/getting-started-cellular/posts/nrf-connect-sdk-tutorial"&gt;NCS tutorial&lt;/a&gt;, which helps you get started with the nRF9160 and NCS.&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><item><title>RE: Debug configurations in SES</title><link>https://devzone.nordicsemi.com/thread/221538?ContentTypeID=1</link><pubDate>Fri, 22 Nov 2019 11:54:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f7912251-9fb0-4b45-b738-0924cb1c2fa4</guid><dc:creator>perf</dc:creator><description>&lt;p&gt;I think the way you point me will be too demanding. I do not have the knowledge required to go that way.&lt;/p&gt;
&lt;p&gt;I believe the best way is to create a new project in SES with File-&amp;gt;New Project, then select an Nordic C executable template and specify all options needed (difficult for a newcomer). Then - copy the required files from mqtt_simple.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Btw: Why are the samples provided stripped in such a way that they are difficult to use as a template?&lt;/p&gt;
&lt;p&gt;I have tried to make my own project and succeeded in some way, but the result in SES is unstable as the J-link download works just once - for example.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;It would be nice to get some help to do what I asked for - or beeing pointed to a good example project that can be a template that have Debug/Release settings and J-link that works.&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Per.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Debug configurations in SES</title><link>https://devzone.nordicsemi.com/thread/221508?ContentTypeID=1</link><pubDate>Fri, 22 Nov 2019 09:47:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:011c9725-482c-4374-8c8a-bc8f95a2036a</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;Be aware that the &lt;a href="https://www.youtube.com/watch?v=YZouRE_Ol8g&amp;amp;list=PLx_tBuQ_KSqGHmzdEL2GWEOeix-S5rgTV"&gt;SEGGER Embedded Studio video series&lt;/a&gt;&amp;nbsp;uses the original version of SES, and in order to build with NCS the Nordic Edition has to be used. These editions&amp;nbsp;are not the same, and they will vary slightly.&lt;/p&gt;
&lt;p&gt;In order to add your own Build Configurations in SES Nordic Editions, follow these steps:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/1200x800/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-a312bb4ad46343b09573a4f271687efc/pastedimage1574415850457v1.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/1200x1920/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-a312bb4ad46343b09573a4f271687efc/pastedimage1574415948742v2.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/1200x1920/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-a312bb4ad46343b09573a4f271687efc/pastedimage1574416049733v3.png" /&gt;&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>