<?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>Segger Release Build not working</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/70106/segger-release-build-not-working</link><description>I have two projects exhibiting the same problem. 
 I have custom board using the nRF52832 and another using the nRF52840. In both cases I am using nRF5 SDK latest version and Segger Embedded Studio 8.32. 
 If I build the application using a Debug build</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 05 Jan 2021 12:12:50 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/70106/segger-release-build-not-working" /><item><title>RE: Segger Release Build not working</title><link>https://devzone.nordicsemi.com/thread/287500?ContentTypeID=1</link><pubDate>Tue, 05 Jan 2021 12:12:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1411ecae-f762-43b5-a945-85c82dea5e18</guid><dc:creator>awneil</dc:creator><description>[quote userid="71851" url="~/f/nordic-q-a/70106/segger-release-build-not-working/287491#287491"]Setting the optimization to None fixed both issues[/quote]
&lt;p&gt;That probably means that there are issues in your code which should be addressed - you have probably just masked the symptoms.&lt;/p&gt;
&lt;p&gt;eg, see:&amp;nbsp;&lt;a href="https://community.arm.com/developer/tools-software/tools/f/keil-forum/48052/beginner-simple-question/169408#169408"&gt;https://community.arm.com/developer/tools-software/tools/f/keil-forum/48052/beginner-simple-question/169408#169408&lt;/a&gt;&lt;/p&gt;
[quote userid="71851" url="~/f/nordic-q-a/70106/segger-release-build-not-working/287491#287491"]Please close this ticket[/quote]
&lt;p&gt;You do that by verifying the answer:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/1667._5F00_Verify_2D00_answer_2D00_nordic_5F00_2.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Segger Release Build not working</title><link>https://devzone.nordicsemi.com/thread/287491?ContentTypeID=1</link><pubDate>Tue, 05 Jan 2021 11:52:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ce0b8741-2dee-40d3-8c42-1deb38fc6d9e</guid><dc:creator>fgeldenh</dc:creator><description>&lt;p&gt;Jurgen - You hit the nail on the head. Pretty dumb of me not to spot it. Setting the optimization to None fixed both issues.&lt;/p&gt;
&lt;p&gt;Please close this ticket and thanks for your help.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Segger Release Build not working</title><link>https://devzone.nordicsemi.com/thread/287450?ContentTypeID=1</link><pubDate>Tue, 05 Jan 2021 10:07:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f8a84de8-0d37-4e3b-b049-fa52b1b533d2</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Typically, the difference between Release and Debug build in SES is that optimization is enabled for Release but not for Debug, and some additional symbols (DEBUG, DEBUG_NRF) is defined in Debug build.&lt;/p&gt;
&lt;p&gt;The optimization could cause some issues, but it is not possible to say anything about this without seeing your code and getting some more details about what is failing/not working.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Jørgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Segger Release Build not working</title><link>https://devzone.nordicsemi.com/thread/287443?ContentTypeID=1</link><pubDate>Tue, 05 Jan 2021 09:47:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0a0ed043-7fef-47c3-80c0-caa382b958ed</guid><dc:creator>awneil</dc:creator><description>[quote userid="71851" url="~/f/nordic-q-a/70106/segger-release-build-not-working"]Can you give me any hint as to where to start looking[/quote]
&lt;p&gt;Look at the Project settings for the &amp;#39;Release&amp;#39; and &amp;#39;Debug&amp;#39; configurations - see where they differ&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>