<?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>nrf connect sdk optimization lowest levels</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/92916/nrf-connect-sdk-optimization-lowest-levels</link><description>Hello, 
 
 When I change the optimization for a project to NO_OPTIMIZATIONS or DEBUG_OPTIMIZATIONS in the configuration (prj.conf), I always go in the hard fault handler (with NO_OPTIMIZATIONS, it fails direclty). 
 I can reproduce this with the sample</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 24 Oct 2022 14:33:15 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/92916/nrf-connect-sdk-optimization-lowest-levels" /><item><title>RE: nrf connect sdk optimization lowest levels</title><link>https://devzone.nordicsemi.com/thread/392206?ContentTypeID=1</link><pubDate>Mon, 24 Oct 2022 14:33:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3593babf-49b9-4bb8-beb3-6c0fc852dd17</guid><dc:creator>Simon Feutrier</dc:creator><description>&lt;p&gt;Well, I have changed my workflow and I have no more crash in debug optimization.&lt;/p&gt;
&lt;p&gt;I will open a new ticket next time I have a new issue of this type.&lt;/p&gt;
&lt;p&gt;Thank you for your time.&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: nrf connect sdk optimization lowest levels</title><link>https://devzone.nordicsemi.com/thread/391445?ContentTypeID=1</link><pubDate>Wed, 19 Oct 2022 13:20:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b1849d3a-5065-4cb7-9863-024db7d37618</guid><dc:creator>SwRa</dc:creator><description>&lt;p&gt;Hi Simon,&lt;/p&gt;
&lt;p&gt;Providing&amp;nbsp;any log that shows the error or the logs from the crash would be helpful for us to check. Also, are you building with &amp;quot;_ns&amp;quot; extension ?&lt;/p&gt;
&lt;p&gt;Best Regards,&lt;/p&gt;
&lt;p&gt;Swathy&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf connect sdk optimization lowest levels</title><link>https://devzone.nordicsemi.com/thread/391042?ContentTypeID=1</link><pubDate>Mon, 17 Oct 2022 16:13:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:87cec076-eca1-4bde-9b8f-404573459f9c</guid><dc:creator>Simon Feutrier</dc:creator><description>&lt;p&gt;Hello &lt;a href="https://devzone.nordicsemi.com/members/swra"&gt;SwRa&lt;/a&gt;&amp;nbsp;,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Which logs do you mean ? Are you talking about the Call stack ?&lt;/p&gt;
&lt;p&gt;The peripheral sample only crashes when use no optimization ; it works with debug optimization&lt;/p&gt;
&lt;p&gt;In my code, with debug optimization it initializes correctly. But on a button trigger I try to fetch value from a sensor and it&amp;nbsp; crashes. Of course it works when optimization is the default one.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf connect sdk optimization lowest levels</title><link>https://devzone.nordicsemi.com/thread/391016?ContentTypeID=1</link><pubDate>Mon, 17 Oct 2022 14:09:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e0e0c67f-0797-4eb4-8437-a5145d715f73</guid><dc:creator>SwRa</dc:creator><description>&lt;p&gt;HI Simon,&lt;/p&gt;
&lt;p&gt;Can you attach the log.?&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Swathy&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>