<?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>Flash overflow in nrf5340-nrf7002</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/121190/flash-overflow-in-nrf5340-nrf7002</link><description>I&amp;#39;m currently working on implementing OpenThread on our custom board based on the nRF5340 along with the nRF7002. While building the project, I&amp;#39;m encountering the following build error: &amp;quot;section `rodata&amp;#39; will not fit in region &amp;#39;FLASH&amp;#39;&amp;quot; &amp;quot;region `FLASH</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 20 May 2025 13:14:15 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/121190/flash-overflow-in-nrf5340-nrf7002" /><item><title>RE: Flash overflow in nrf5340-nrf7002</title><link>https://devzone.nordicsemi.com/thread/536227?ContentTypeID=1</link><pubDate>Tue, 20 May 2025 13:14:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:64238f38-c711-4698-94ef-222dfe76099b</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi Amirtha,&lt;/p&gt;
&lt;p&gt;If you look at the build log, you can see which Kconfigs are causing issues. Look for lines mentioning undefined symbols or that a Kconfig option got a different value from what it was assigned. Here are two examples:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;D:/sensors/application/Node_1/prj.conf:45: warning: attempt to assign the value &amp;#39;y&amp;#39; to the undefined symbol WPA_SUPP&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;warning: WIFI_READY_LIB (defined at C:/ncs/v3.0.0/nrf\subsys\net\lib\wifi_ready/Kconfig:7) was
assigned the value &amp;#39;y&amp;#39; but got the value &amp;#39;n&amp;#39;. Check these unsatisfied dependencies:
WIFI_NM_WPA_SUPPLICANT (=n). See
http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_WIFI_READY_LIB and/or look up
WIFI_READY_LIB in the menuconfig/guiconfig interface. The Application Development Primer, Setting
Configuration Values, and Kconfig - Tips and Best Practices sections of the manual might be helpful
too.&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Please go through the migration guides and &lt;a href="https://docs.nordicsemi.com/bundle/ncs-3.0.1/page/nrf/releases_and_maturity/release_notes.html"&gt;release notes&lt;/a&gt;, as these changes are mentioned there. For example, from &lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/releases_and_maturity/migration/migration_guide_2.8.html#nrf70_series"&gt;Migration guide for nRF Connect SDK v2.8.0 - nRF70 Series&lt;/a&gt;:&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;blockquote&gt;
&lt;p&gt;The nRF70 Series support is now part of Zephyr upstream and it requires the following changes:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;The nRF70 Series driver namespace has been renamed from &lt;code&gt;&lt;span&gt;NRF700X&lt;/span&gt;&lt;/code&gt; to &lt;code&gt;&lt;span&gt;NRF70&lt;/span&gt;&lt;/code&gt;. For example, &lt;code&gt;&lt;span&gt;CONFIG_NRF700X_RAW_DATA_RX&lt;/span&gt;&lt;/code&gt; to &lt;code&gt;&lt;span&gt;CONIFG_NRF70_RAW_DATA_RX&lt;/span&gt;&lt;/code&gt;. Update your application configurations to use the new namespace.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;The nRF70 Series driver now uses per-module kernel heap with a higher default. If a sample or an application uses the kernel heap but uses less than the default size, a build warning is displayed. Use the &lt;a title="(in Kconfig reference v&amp;amp;nbsp;)" href="https://docs.nordicsemi.com/bundle/ncs-latest/page/kconfig/index.html#CONFIG_HEAP_MEM_POOL_IGNORE_MIN"&gt;&lt;code&gt;&lt;span&gt;CONFIG_HEAP_MEM_POOL_IGNORE_MIN&lt;/span&gt;&lt;/code&gt;&lt;/a&gt; Kconfig option and enable it to suppress the warning.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/blockquote&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;blockquote&gt;
&lt;p&gt;The WPA supplicant is also now part of Zephyr upstream and it requires the following changes:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;The WPA supplicant namespace has been renamed from &lt;code&gt;&lt;span&gt;WPA_SUPP&lt;/span&gt;&lt;/code&gt; to &lt;code&gt;&lt;span&gt;WIFI_NM_WPA_SUPPLICANT&lt;/span&gt;&lt;/code&gt;. For example, &lt;code&gt;&lt;span&gt;CONFIG_WPA_SUPP=y&lt;/span&gt;&lt;/code&gt; to &lt;code&gt;&lt;span&gt;CONFIG_WIFI_NM_WPA_SUPPLICANT=y&lt;/span&gt;&lt;/code&gt;. Update your application configurations to use the new namespace.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;You need to reconcile the application heap and kernel heap usage appropriately to accommodate this switch from application to kernel heap.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/blockquote&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;I also recommend comparing your project with samples in the SDK.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Marte&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Flash overflow in nrf5340-nrf7002</title><link>https://devzone.nordicsemi.com/thread/536099?ContentTypeID=1</link><pubDate>Tue, 20 May 2025 07:41:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:000ce7b6-62df-4e78-8a75-86775b81e167</guid><dc:creator>Amirtha</dc:creator><description>&lt;p&gt;Hi team,&lt;br /&gt;&amp;nbsp; &amp;nbsp; &lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; Thanks for your reply.&lt;br /&gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; We have tried to build our code on nRF SDK v3.0.0 and we follow the steps as per mention in migration guide however still we face some compilation issues, here is the complete build log.&lt;br /&gt;&lt;br /&gt;Kindly review and provide how to resolve the configuration file warnings&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/nrf5340_5F00_compilation_5F00_error.txt"&gt;devzone.nordicsemi.com/.../nrf5340_5F00_compilation_5F00_error.txt&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Thanks,&lt;br /&gt;Amirtha N&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Flash overflow in nrf5340-nrf7002</title><link>https://devzone.nordicsemi.com/thread/536081?ContentTypeID=1</link><pubDate>Tue, 20 May 2025 06:36:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a02c0825-f9f4-485c-b52b-ef0e6c73910d</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi Amirtha,&lt;/p&gt;
[quote user="Amirtha"]Is there any documentation available for updating the Kconfig settings from version 2.6.2 to 3.0?[/quote]
&lt;p&gt;You can use the &lt;a href="https://docs.nordicsemi.com/bundle/ncs-3.0.1/page/nrf/releases_and_maturity/migration_guides.html"&gt;migration guides&lt;/a&gt; I mentioned in my previous reply.&lt;/p&gt;
&lt;p&gt;If you have any specific issues, please share the complete build log as text by using Insert &amp;gt; Code.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Marte&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Flash overflow in nrf5340-nrf7002</title><link>https://devzone.nordicsemi.com/thread/535932?ContentTypeID=1</link><pubDate>Mon, 19 May 2025 08:54:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a217b8e7-fa2c-4e31-8aed-a44b1808371d</guid><dc:creator>Amirtha</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;br /&gt;&lt;br /&gt;We have installed NCS 3.0 and resolved the build issues. However, we are facing configuration issues related to Wi-Fi and BLE. Our application builds successfully without the Wi-Fi and BLE configurations, but including them causes an issue. Is there any documentation available for updating the Kconfig settings from version 2.6.2 to 3.0?&lt;br /&gt;&lt;br /&gt;Best Regards,&lt;br /&gt;Amirtha N&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Flash overflow in nrf5340-nrf7002</title><link>https://devzone.nordicsemi.com/thread/534269?ContentTypeID=1</link><pubDate>Wed, 07 May 2025 11:31:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:40b43260-5b42-4046-b22a-1e834c1eb5d4</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user="Lavanya_Manohar"]What are the recommended steps for upgrading an existing application from NCS 2.6.2 to the latest version (e.g., NCS 3.x)?[/quote]
&lt;p&gt;We have &lt;a href="https://docs.nordicsemi.com/bundle/ncs-3.0.1/page/nrf/releases_and_maturity/migration_guides.html"&gt;migration guides&lt;/a&gt; in our documentation. There are guides for migrating from one version to the next, so I recommend going through each. In addition, there are specific guides for &lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/releases_and_maturity/migration/migration_sysbuild.html"&gt;migrating from multi-image builds to sysbuild&lt;/a&gt; and &lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/releases_and_maturity/migration/migration_hwmv2.html"&gt;migrating to the current hardware model&lt;/a&gt;. Sysbuild and hw model v2 were introduced in v2.7.0, so these guides are relevant when migrating from v2.6 to v2.7.&lt;/p&gt;
[quote user="Lavanya_Manohar"]In the current version (NCS 2.6.2), are there any known methods or best practices to reduce flash usage?[/quote]
&lt;p&gt;We have a &lt;a href="https://docs.nordicsemi.com/bundle/ncs-2.6.2/page/nrf/test_and_optimize/optimizing/memory.html"&gt;memory footprint optimization&lt;/a&gt; guide that provides general and protocol-specific tips for optimizing and reducing flash and RAM usage.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Marte&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Flash overflow in nrf5340-nrf7002</title><link>https://devzone.nordicsemi.com/thread/534216?ContentTypeID=1</link><pubDate>Wed, 07 May 2025 07:46:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a9f6dd0c-e3df-4094-ab4c-123494f1d531</guid><dc:creator>Lavanya_Manohar</dc:creator><description>&lt;p&gt;When we started development, NCS v2.6.2 was the latest available version, and our application was built and finalized using this version. The project is now in the production stage, so upgrading the SDK at this point could introduce delays due to the need for regression testing and validation. That&amp;rsquo;s why we are currently staying on v2.6.2.&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p class="" data-start="542" data-end="931"&gt;However, for future development or if we plan to update the project, we will evaluate compatibility with the latest SDK version. We understand that changes introduced in &lt;strong data-start="712" data-end="734"&gt;NCS&lt;/strong&gt;, so we&amp;rsquo;ll make sure to review the migration documentation and check for any required updates to APIs or configuration settings.&lt;/p&gt;
&lt;p class="" data-start="933" data-end="1011"&gt;As we prepare for potential migration, we would like to clarify the following:&lt;/p&gt;
&lt;ol data-start="1013" data-end="1638"&gt;
&lt;li class="" data-start="1013" data-end="1370"&gt;
&lt;p class="" data-start="1016" data-end="1144"&gt;&lt;strong data-start="1016" data-end="1142"&gt;What are the recommended steps for upgrading an existing application from NCS 2.6.2 to the latest version (e.g., NCS 3.x)?&lt;/strong&gt;&lt;/p&gt;
&lt;ul data-start="1148" data-end="1370"&gt;
&lt;li class="" data-start="1148" data-end="1259"&gt;
&lt;p class="" data-start="1150" data-end="1259"&gt;Are there structured guidelines or tools to help transition to newer features like Sysbuild and HW model 2?&lt;/p&gt;
&lt;/li&gt;
&lt;li class="" data-start="1263" data-end="1370"&gt;
&lt;p class="" data-start="1265" data-end="1370"&gt;What should we watch out for in terms of API/configuration updates, board definitions, or system changes?&lt;/p&gt;
&lt;p class="" data-start="1265" data-end="1370"&gt;&lt;strong data-start="1375" data-end="1483"&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p class="" data-start="1265" data-end="1370"&gt;&lt;strong data-start="1375" data-end="1483"&gt;In the current version (NCS 2.6.2), are there any known methods or best practices to reduce flash usage?&lt;/strong&gt;&lt;/p&gt;
&lt;ul data-start="1489" data-end="1638"&gt;
&lt;li class="" data-start="1489" data-end="1638"&gt;
&lt;p class="" data-start="1491" data-end="1638"&gt;We are looking to optimize flash consumption&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Flash overflow in nrf5340-nrf7002</title><link>https://devzone.nordicsemi.com/thread/534211?ContentTypeID=1</link><pubDate>Wed, 07 May 2025 07:29:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:85f1aa6b-d5cf-47ee-aac7-bc2e6e59bda9</guid><dc:creator>runsiv</dc:creator><description>&lt;p&gt;Is there a specific reason why you are using 2.6.2? In general I would highly recommend using a newer SDK. For example in NCS 3.0 there s&amp;nbsp;up&amp;nbsp;to 25 kB reduction in the RAM footprint of the Wi-Fi stack on nRF5340 for Wi-Fi applications with low throughput requirements. If you need to use 2.6.x for a spesific reason I would at least recommend that you use 2.6.4 as it contain wifi fixes&amp;nbsp;&lt;/p&gt;
&lt;p&gt;What starting point did you use for your application? Due to the changes that was introduced in NCS 2.7 it will contain breaking changes due to the introduction of Sysbuild and HW model 2. These changes can be found in the &lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/releases_and_maturity/migration_guides.html"&gt;migration documentation&lt;/a&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Flash overflow in nrf5340-nrf7002</title><link>https://devzone.nordicsemi.com/thread/534008?ContentTypeID=1</link><pubDate>Tue, 06 May 2025 04:46:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5184d6aa-4ca4-4b31-a554-7f035120be8e</guid><dc:creator>Lavanya_Manohar</dc:creator><description>&lt;p&gt;We using v2.6.2&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Flash overflow in nrf5340-nrf7002</title><link>https://devzone.nordicsemi.com/thread/533920?ContentTypeID=1</link><pubDate>Mon, 05 May 2025 13:07:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1e9cc2fd-f645-4886-8fec-425bfe232bf5</guid><dc:creator>runsiv</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Which version of NCS are you using?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You can have a look here regarding how to optimize the wifi stack&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/protocols/wifi/stack_configuration.html#nrf-wi-fi-driver-performance-and-memory-fine-tuning-controls"&gt;https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/protocols/wifi/stack_configuration.html#nrf-wi-fi-driver-performance-and-memory-fine-tuning-controls&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Runar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>