<?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>Running Zephyr without optimisation</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/80911/running-zephyr-without-optimisation</link><description>Hi All! 
 
 I&amp;#39;d like to ask if anybody succeeded running zephyr without optimizations? 
 For ex. i have a following code: 
 
 
 Now i have following problems: 1) If i set optimization level to O0, then Zephyr even doesn&amp;#39;t start :) - Why? is there any</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 22 Oct 2021 09:44:00 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/80911/running-zephyr-without-optimisation" /><item><title>RE: Running Zephyr without optimisation</title><link>https://devzone.nordicsemi.com/thread/335438?ContentTypeID=1</link><pubDate>Fri, 22 Oct 2021 09:44:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8ebbe620-ce36-4447-9b41-3c50c662cf5d</guid><dc:creator>Michal Obrembski</dc:creator><description>&lt;p&gt;I&amp;#39;ve not set stack size in prj.conf, but after your suggestion, it works! :)&lt;/p&gt;
&lt;p&gt;Thank you!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Running Zephyr without optimisation</title><link>https://devzone.nordicsemi.com/thread/335262?ContentTypeID=1</link><pubDate>Thu, 21 Oct 2021 11:03:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:76a9ef3d-f616-42f3-bc3f-2fdfa593df9c</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;What is&amp;nbsp;CONFIG_MAIN_STACK_SIZE set to in your .cnf file? Can you try setting it to CONFIG_MAIN_STACK_SIZE=8192&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;Jared&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>