<?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>Need help interpreting memory report</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/101429/need-help-interpreting-memory-report</link><description>Hello, 
 
 
 I am trying to analyze ROM memory consumption, using the &amp;quot;memory report&amp;quot; feature on vscode nrf connect. I get references to &amp;quot;No paths&amp;quot; occupying lot of memory, please help me understand what composes this &amp;quot;No path&amp;quot;: 
 
 
 
 Some of it is</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 04 Jul 2023 09:16:50 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/101429/need-help-interpreting-memory-report" /><item><title>RE: Need help interpreting memory report</title><link>https://devzone.nordicsemi.com/thread/434401?ContentTypeID=1</link><pubDate>Tue, 04 Jul 2023 09:16:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9afcc7c2-ac62-47a0-89b3-5e735239cd38</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;BT mesh (and any other protocols, for instance openthread) will require a&amp;nbsp;certain footprint to support the targeted protocol.&lt;/p&gt;
&lt;p&gt;If you take a given sample, let&amp;#39;s say samples/bluetooth/mesh/light_switch, and compile it with the uart/log kconfig&amp;#39;s that I posted, you should see the minimum requirement of that specific sample.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Need help interpreting memory report</title><link>https://devzone.nordicsemi.com/thread/434395?ContentTypeID=1</link><pubDate>Tue, 04 Jul 2023 09:00:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b453d159-b415-47ce-97e1-48e8101b75a4</guid><dc:creator>Ubaid_M</dc:creator><description>&lt;p&gt;Yes &lt;a href="https://devzone.nordicsemi.com/members/hkn"&gt;Håkon Alseth&lt;/a&gt;&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
[quote userid="2115" url="~/f/nordic-q-a/101429/need-help-interpreting-memory-report/434391"] (CONFIG_LOG=n, CONFIG_UART_CONSOLE=n, CONFIG_CONSOLE=n).[/quote]
&lt;p&gt;This I have already done,&lt;br /&gt;&lt;br /&gt;What I observed was that in v1.9.1 BLE + BLE-Mesh +&amp;nbsp;&lt;span&gt;statically linked libraries&amp;nbsp;are totaling&amp;nbsp;to 70% of ROM consumption.&lt;br /&gt;&lt;br /&gt;My application is just under 15%.&lt;br /&gt;&lt;br /&gt;So how can I bring the 70% down..?&lt;br /&gt;It is quite huge.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Need help interpreting memory report</title><link>https://devzone.nordicsemi.com/thread/434391?ContentTypeID=1</link><pubDate>Tue, 04 Jul 2023 08:55:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:856da422-5451-4ef4-a1a0-89110ad669ed</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Try to disable features that you do not need, for instance all logging (CONFIG_LOG=n, CONFIG_UART_CONSOLE=n, CONFIG_CONSOLE=n).&lt;/p&gt;
&lt;p&gt;Also ensure that you are compiling for size optimization (default setting unless explicitly changed).&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Need help interpreting memory report</title><link>https://devzone.nordicsemi.com/thread/434386?ContentTypeID=1</link><pubDate>Tue, 04 Jul 2023 08:49:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c8b1ba0d-3b10-4d86-a1d7-7e2b156a56e9</guid><dc:creator>Ubaid_M</dc:creator><description>&lt;p&gt;Thanks &lt;a href="https://devzone.nordicsemi.com/members/hkn"&gt;Håkon Alseth&lt;/a&gt;&amp;nbsp;&lt;br /&gt;&lt;br /&gt;I am struggling with high ROM consumption.&amp;nbsp;&lt;br /&gt;Can you please suggest me something to look for build file size optimization..?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Need help interpreting memory report</title><link>https://devzone.nordicsemi.com/thread/434370?ContentTypeID=1</link><pubDate>Tue, 04 Jul 2023 08:15:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:64835fa7-c554-4c43-b368-5901664e838d</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Those are nameless symbols, for instance coming from libraries, RO data, DATA, string sections, etc.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Need help interpreting memory report</title><link>https://devzone.nordicsemi.com/thread/434338?ContentTypeID=1</link><pubDate>Tue, 04 Jul 2023 06:16:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4d608a26-ffa5-48ee-a66d-a9de6458bf63</guid><dc:creator>Ubaid_M</dc:creator><description>&lt;p&gt;Thanks &lt;a href="https://devzone.nordicsemi.com/members/hkn"&gt;Håkon Alseth&lt;/a&gt;&amp;nbsp;,&lt;/p&gt;
&lt;p&gt;Further,&amp;nbsp;&lt;br /&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1688451380617v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Can you please help me understand what comprises of the &amp;quot;Hidden&amp;quot; folder memory occupancy..?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Need help interpreting memory report</title><link>https://devzone.nordicsemi.com/thread/434225?ContentTypeID=1</link><pubDate>Mon, 03 Jul 2023 12:54:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e2ecb3c6-e515-40bc-a760-4da5230a6991</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi Ubaid,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;It is hard to state if this will change the flash usage of your project, unfortunately.&lt;/p&gt;
&lt;p&gt;I would recommend that you check with your firmware and its configuration.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Need help interpreting memory report</title><link>https://devzone.nordicsemi.com/thread/434204?ContentTypeID=1</link><pubDate>Mon, 03 Jul 2023 12:06:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:868c6354-f49d-4b5b-a14c-dd6ce68bf347</guid><dc:creator>Ubaid_M</dc:creator><description>&lt;p&gt;Hi &lt;a href="https://devzone.nordicsemi.com/members/hkn"&gt;Håkon Alseth&lt;/a&gt;&amp;nbsp;,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks, I am using nCS v1.9.1&lt;br /&gt;Will upgrading the nCS to v2.4.0 provide me with build file size (ROM) optimization&amp;nbsp;for&amp;nbsp;these static libraries..?&lt;br /&gt;Because I can see that these statically linked libraries are consuming 37% of ROM currently in v1.9.1&lt;br /&gt;&lt;br /&gt;I read that v2.4.0 provides PSA which optimizes build file size.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Ubaid&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Need help interpreting memory report</title><link>https://devzone.nordicsemi.com/thread/434188?ContentTypeID=1</link><pubDate>Mon, 03 Jul 2023 11:39:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:adc399b8-9490-4c88-a765-933ec5e02edb</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;It is statically linked libraries that are stripped, for instance the softdevice controller / mpsl etc, and smaller dependencies around those symbols.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>