<?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>ROM - Memory Report</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/93561/rom---memory-report</link><description>Hello everybody, 
 I am doing some optimizations on the code due to I am at 94% of used of the ROM (I am using DFU). 
 When I created the memory report, I realized that there is a part called No Path that demads more than a half of the rom. 
 
 My questions</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 25 Apr 2025 15:01:07 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/93561/rom---memory-report" /><item><title>RE: ROM - Memory Report</title><link>https://devzone.nordicsemi.com/thread/533047?ContentTypeID=1</link><pubDate>Fri, 25 Apr 2025 15:01:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bb09f49e-157d-4c7d-bf90-04a84308f7ef</guid><dc:creator>Adam Varga</dc:creator><description>&lt;p&gt;Same here: &amp;quot;No paths&amp;quot; occupy 23.4% for me (120.1kB). From that &amp;quot;No names&amp;quot; consume 55kB! Would be also good to understand what&amp;#39;s &amp;quot;Hidden&amp;quot;?&lt;/p&gt;
&lt;p&gt;Some info would be nice how to evaluate this.&lt;/p&gt;
&lt;p&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/pastedimage1745593254310v2.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ROM - Memory Report</title><link>https://devzone.nordicsemi.com/thread/465316?ContentTypeID=1</link><pubDate>Mon, 22 Jan 2024 13:03:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:52aca281-3bd1-42c5-9a6f-29f7e037e9d2</guid><dc:creator>Priyanka</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;If you try to expand the No Paths, it might give an idea of the function names etc. It might include some of the things that come as archives and which miss filepath information and hence it&amp;#39;s &amp;quot;no paths&amp;quot;.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;-Priyanka&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ROM - Memory Report</title><link>https://devzone.nordicsemi.com/thread/465312?ContentTypeID=1</link><pubDate>Mon, 22 Jan 2024 12:56:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:38195b5a-eafc-418f-b1ba-af00d2672872</guid><dc:creator>Priyanka</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Apologies for the delay as I was on a long vacation. I will update here as soon as I hear from the experts.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Priyanka&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ROM - Memory Report</title><link>https://devzone.nordicsemi.com/thread/459885?ContentTypeID=1</link><pubDate>Tue, 12 Dec 2023 10:14:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1749e8c8-d07c-4bbd-a4ff-5dd0c2f7edd9</guid><dc:creator>alex.heslop</dc:creator><description>&lt;p&gt;Hi &lt;a href="https://devzone.nordicsemi.com/members/priyankakesav"&gt;Priyanka&lt;/a&gt;&amp;nbsp;, did you get a response to this? I&amp;#39;ve got an application which is using only 3.45kB ROM for the actual application code, and 121.2kB NCS and 71.8kB in &amp;quot;No Paths&amp;quot; which is making things completely unworkable for having any space remaining for flash storage when I need a bootloader OTA.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ROM - Memory Report</title><link>https://devzone.nordicsemi.com/thread/435681?ContentTypeID=1</link><pubDate>Tue, 11 Jul 2023 10:56:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0f70ccfa-fd7e-4062-af7d-4ded2c172982</guid><dc:creator>anicare-tero</dc:creator><description>&lt;p&gt;I would like to know that too.&lt;/p&gt;
&lt;p&gt;My &amp;#39;Hidden&amp;#39; part is 24.82% and &amp;#39;No paths&amp;#39; part (most of the application functions etc.) is 40.79%.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ROM - Memory Report</title><link>https://devzone.nordicsemi.com/thread/431136?ContentTypeID=1</link><pubDate>Thu, 15 Jun 2023 04:44:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d070dab4-b4b5-4f9b-a976-3adbef9ffd35</guid><dc:creator>John Lee</dc:creator><description>&lt;p&gt;Are there any updates?&lt;br /&gt;What does Hidden and No Paths mean?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ROM - Memory Report</title><link>https://devzone.nordicsemi.com/thread/397546?ContentTypeID=1</link><pubDate>Fri, 25 Nov 2022 07:36:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5b6177e2-136f-4d53-b722-92c1e6cac22a</guid><dc:creator>Priyanka</dc:creator><description>&lt;p&gt;Hi Leonardo,&lt;/p&gt;
&lt;p&gt;I still haven&amp;#39;t got a fixed response. have asked again. Sorry for the delay. I will get back to you.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Priyanka&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ROM - Memory Report</title><link>https://devzone.nordicsemi.com/thread/397491?ContentTypeID=1</link><pubDate>Thu, 24 Nov 2022 15:39:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:57d3b082-4943-4d0f-92a9-0696f0d38998</guid><dc:creator>LeoSanta</dc:creator><description>&lt;p&gt;Hi Priyanka,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;do you know if there are any news about the issue?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Greetings,&lt;/p&gt;
&lt;p&gt;Leonardo&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ROM - Memory Report</title><link>https://devzone.nordicsemi.com/thread/394893?ContentTypeID=1</link><pubDate>Wed, 09 Nov 2022 11:39:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0099a1c9-1ed8-47f0-b527-3eb0853ffc1f</guid><dc:creator>Priyanka</dc:creator><description>&lt;p&gt;Hi Lonardo,&lt;/p&gt;
&lt;p&gt;I have reported this internally and will let you know as soon as I get a response.&lt;/p&gt;
&lt;p&gt;-Priyanka&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ROM - Memory Report</title><link>https://devzone.nordicsemi.com/thread/394725?ContentTypeID=1</link><pubDate>Tue, 08 Nov 2022 13:58:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:88d43583-72df-4805-961f-ce87a864ec5e</guid><dc:creator>LeoSanta</dc:creator><description>&lt;p&gt;Hi Priyanka,&lt;/p&gt;
&lt;p&gt;I took the example from&amp;nbsp;&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/guides/nrf-connect-sdk-guides/b/software/posts/ncs-dfu"&gt;Add DFU support to your application&lt;/a&gt;&amp;nbsp;and I added some modifications.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I have also realized that when I add some lines at the prj.conf the No Path memory usage increased drastically:&lt;/p&gt;
&lt;p&gt;1.&amp;nbsp;&lt;span&gt;CONFIG_MCUMGR_SMP_BT&lt;/span&gt;&lt;span&gt;=y increases around 62kb the flash usage in the No Paths memory report.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;2.&lt;/span&gt;CONFIG_BT_CENTRAL=y increases around 45kb the flash usage in the No Paths memory report.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;My prj.conf looks like this:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;# Enable GPIO
CONFIG_GPIO=y
CONFIG_GPIO_AS_PINRESET=y

# ENABLE UART
CONFIG_SERIAL=y
CONFIG_UART_CONSOLE=n
CONFIG_UART_ASYNC_API=y
CONFIG_NRFX_UARTE0=n
CONFIG_UART_0_ASYNC=y
CONFIG_UART_INTERRUPT_DRIVEN=n
CONFIG_UART_0_INTERRUPT_DRIVEN=n
CONFIG_UART_USE_RUNTIME_CONFIGURE=y
CONFIG_NEWLIB_LIBC_FLOAT_PRINTF=n
CONFIG_CBPRINTF_FP_SUPPORT=n
CONFIG_LOG=n

# Enable POWER SAVE
CONFIG_PM_DEVICE=y
CONFIG_NRFX_POWER=y

# Enable LP_TIMER (RTC)
CONFIG_NRFX_RTC0=n
CONFIG_NRFX_RTC1=n
CONFIG_NRFX_RTC2=y

# Enable CLOCK
CONFIG_NRFX_CLOCK=n
CONFIG_CMU_HFCLK_HFRCO=n

# DFU settings
CONFIG_MCUMGR=y
CONFIG_MCUMGR_CMD_IMG_MGMT=y
CONFIG_MCUMGR_CMD_OS_MGMT=y
CONFIG_BOOTLOADER_MCUBOOT=y
CONFIG_SPEED_OPTIMIZATIONS=y
CONFIG_BT_L2CAP_TX_MTU=252
CONFIG_BT_BUF_ACL_RX_SIZE=256
CONFIG_MCUMGR_SMP_BT=y
CONFIG_MCUMGR_SMP_BT_AUTHEN=n
CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=4096

# Enable BLUETOOTH
CONFIG_BT=y
CONFIG_BT_SMP=y
CONFIG_BT_CENTRAL=y
#CONFIG_BT_PERIPHERAL=y
CONFIG_BT_DEVICE_NAME=&amp;quot;GATEWAY_MI&amp;quot;
CONFIG_BT_CTLR_PHY_CODED=y
CONFIG_BT_EXT_ADV=y
#CONFIG_BT_SCAN=y
CONFIG_BT_CTLR_TX_PWR_DYNAMIC_CONTROL=n
CONFIG_BT_EXT_ADV_MAX_ADV_SET=1
CONFIG_BT_SCAN_FILTER_ENABLE=y
CONFIG_BT_SCAN_ADDRESS_CNT=5

# Heap memory pool 256/1024/4096/16384
CONFIG_HEAP_MEM_POOL_SIZE=4096
CONFIG_NEWLIB_LIBC_MIN_REQUIRED_HEAP_SIZE=2048

# C++ config
CONFIG_NEWLIB_LIBC=y
CONFIG_MINIMAL_LIBC=n
CONFIG_CPLUSPLUS=y
##CONFIG_STD_CPP2A=y
##CONFIG_LIB_CPLUSPLUS=y
##CONFIG_NEWLIB_LIBC_NANO=n

# disable features not needed
CONFIG_DEBUG=n
CONFIG_MDIO=n
CONFIG_PRINTK=n&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ROM - Memory Report</title><link>https://devzone.nordicsemi.com/thread/394355?ContentTypeID=1</link><pubDate>Mon, 07 Nov 2022 09:47:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c28d7a47-9ec2-4c76-944c-99475a0bbdb7</guid><dc:creator>Priyanka</dc:creator><description>&lt;p&gt;Hi Leonardo,&lt;/p&gt;
&lt;p&gt;This does seem to take a lot of memory. Could you let me know which sample/application you have used so that I can try to replicate this?&lt;/p&gt;
&lt;p&gt;-Priyanka&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ROM - Memory Report</title><link>https://devzone.nordicsemi.com/thread/394149?ContentTypeID=1</link><pubDate>Fri, 04 Nov 2022 12:55:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ce2e00e6-36be-4dd0-83b4-7009c344ad81</guid><dc:creator>LeoSanta</dc:creator><description>&lt;p&gt;Hi dear Priyanka,&lt;/p&gt;
&lt;p&gt;As you will see in the image, there are a lot of small files.&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/MemoryReport_5F00_NoPaths.PNG" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ROM - Memory Report</title><link>https://devzone.nordicsemi.com/thread/394109?ContentTypeID=1</link><pubDate>Fri, 04 Nov 2022 10:03:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cd065346-8899-4978-848d-c4d4caba3cf3</guid><dc:creator>Priyanka</dc:creator><description>&lt;p&gt;Hi Leonardo,&lt;/p&gt;
&lt;p&gt;Could you share a picture of the same after&amp;nbsp;expanding the dropdown option for No Paths?&lt;/p&gt;
&lt;p&gt;Best Regards,&lt;/p&gt;
&lt;p&gt;Priyanka&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>