<?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>Matter light bulb does not fit in FLASH</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/92199/matter-light-bulb-does-not-fit-in-flash</link><description>When building the Matter Light Bulb sample application for the nRF52840 fails with: 
 
 /opt/nordic/ncs/toolchains/v2.1.0/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/10.3.0/../../../../arm-zephyr-eabi/bin/ld.bfd: zephyr/zephyr_pre0.elf</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 22 Sep 2022 11:37:24 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/92199/matter-light-bulb-does-not-fit-in-flash" /><item><title>RE: Matter light bulb does not fit in FLASH</title><link>https://devzone.nordicsemi.com/thread/387480?ContentTypeID=1</link><pubDate>Thu, 22 Sep 2022 11:37:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:601395b3-0b7d-4d67-b56b-2f4401e6035c</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Matter applications are very large, so this is not out of the ordinary. The Matter libraries take up a lot of space, and you also have OpenThread, Bluetooth, the application itself, and other modules. However, there are ways to optimize the application for ROM and RAM footprint. If you follow the&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/app_memory.html#memory-footprint-optimization"&gt;Memory footprint optimization&lt;/a&gt;&amp;nbsp;guide, both the general recommendations and for specific subsystems, then you should be able to reduce the size. I have not tested in nRF Connect SDK v2.x.x, so the size might differ somewhat, but I have been able to get the application down to around 700 kB using this.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Marte&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Matter light bulb does not fit in FLASH</title><link>https://devzone.nordicsemi.com/thread/387368?ContentTypeID=1</link><pubDate>Wed, 21 Sep 2022 20:08:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c26189b5-6f55-478c-b1e4-8fd61c3159b0</guid><dc:creator>Allen</dc:creator><description>&lt;p&gt;This is only an issue when &amp;quot;Debug&amp;quot; is enabled in the build configuration. Otherwise the flash usage is 93.24%.&lt;/p&gt;
&lt;p&gt;It is a concern that application is so large for just a simple light bulb?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>