<?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>Enabling Bluetooth to the Littlefs sample app will make the littlefs **NOT** use external flash.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/90401/enabling-bluetooth-to-the-littlefs-sample-app-will-make-the-littlefs-not-use-external-flash</link><description>I built the littlefs zephyr example found in &amp;quot;/zephyr/samples/subsys/fs/littlefs&amp;quot;and then modified it to use the external flash &amp;quot;MX25R64&amp;quot; by adding an app.overlay file. I have also added to the prj.conf the following: 
 
 CONFIG_NORDIC_QSPI_NOR=y 
 CONFIG_NORDIC_QSPI_NOR_FLASH_LAYOUT_PAGE_SIZE</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sat, 24 May 2025 12:59:00 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/90401/enabling-bluetooth-to-the-littlefs-sample-app-will-make-the-littlefs-not-use-external-flash" /><item><title>RE: Enabling Bluetooth to the Littlefs sample app will make the littlefs **NOT** use external flash.</title><link>https://devzone.nordicsemi.com/thread/536830?ContentTypeID=1</link><pubDate>Sat, 24 May 2025 12:59:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c1e19db1-7b2b-406d-af40-4a5ca3014cec</guid><dc:creator>GiorgioG</dc:creator><description>&lt;p&gt;I have a similar problem&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Enabling Bluetooth to the Littlefs sample app will make the littlefs **NOT** use external flash.</title><link>https://devzone.nordicsemi.com/thread/476350?ContentTypeID=1</link><pubDate>Fri, 29 Mar 2024 12:20:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ec980c6a-682d-44ed-ae30-4532a32ab600</guid><dc:creator>MarkV6</dc:creator><description>&lt;p&gt;This topic of 2 years ago seems to be still actual. This happens on my 5340 SDK 2.6.0. The external flash stops functioning when CONFIG_BT=y&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The solution above is unclear to me or is the&amp;nbsp;pm_static.yml renamed now? How to solve this?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Enabling Bluetooth to the Littlefs sample app will make the littlefs **NOT** use external flash.</title><link>https://devzone.nordicsemi.com/thread/380885?ContentTypeID=1</link><pubDate>Tue, 09 Aug 2022 18:16:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:700f0699-68c7-4ef1-aa8c-e63214c9ea28</guid><dc:creator>jodiem</dc:creator><description>&lt;p&gt;Sorry, I was on vacation last week and did not get to investigate this until now.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p id="mcetoc_1ga1sqrro0"&gt;So the issue was that I did not have the pm_static.yml, and added a line to the &amp;quot;chosen&amp;quot; section of the app.overlay.&lt;/p&gt;
&lt;h3 id="mcetoc_1ga1sqrro1"&gt;pm_static.yml:&lt;/h3&gt;
&lt;p&gt;&lt;code&gt;littlefs_storage:&lt;/code&gt;&lt;br /&gt;&lt;code&gt; address: 0&lt;/code&gt;&lt;br /&gt;&lt;code&gt; end_address: 0x800000&lt;/code&gt;&lt;br /&gt;&lt;code&gt; placement:&lt;/code&gt;&lt;br /&gt;&lt;code&gt; before:&lt;/code&gt;&lt;br /&gt;&lt;code&gt; - end&lt;/code&gt;&lt;br /&gt;&lt;code&gt; region: external_flash&lt;/code&gt;&lt;br /&gt;&lt;code&gt; size: 0x800000&lt;/code&gt;&lt;/p&gt;
&lt;h3 id="mcetoc_1ga1stl4i2"&gt;Modification of the app.overlay:&lt;/h3&gt;
&lt;p&gt;&lt;code&gt;diff --git a/app.overlay b/app.overlay&lt;/code&gt;&lt;br /&gt;&lt;code&gt;index 3d289d8..9cf4d83 100644&lt;/code&gt;&lt;br /&gt;&lt;code&gt;--- a/app.overlay&lt;/code&gt;&lt;br /&gt;&lt;code&gt;+++ b/app.overlay&lt;/code&gt;&lt;br /&gt;&lt;code&gt;@@ -6,6 +6,7 @@&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;/ {&lt;/code&gt;&lt;br /&gt;&lt;code&gt; chosen {&lt;/code&gt;&lt;br /&gt;&lt;code&gt;+ nordic,pm-ext-flash = &amp;amp;mx25r64;&lt;/code&gt;&lt;br /&gt;&lt;code&gt; nordic,nus-uart = &amp;amp;uart0;&lt;/code&gt;&lt;br /&gt;&lt;code&gt; };&lt;/code&gt;&lt;br /&gt;&lt;code&gt; };&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks for your assistance!&lt;/p&gt;
&lt;p&gt;Jodie&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Enabling Bluetooth to the Littlefs sample app will make the littlefs **NOT** use external flash.</title><link>https://devzone.nordicsemi.com/thread/379568?ContentTypeID=1</link><pubDate>Mon, 01 Aug 2022 14:01:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:03cad24d-295c-4b12-b353-fd9866e6725f</guid><dc:creator>Maria Gilje</dc:creator><description>&lt;p&gt;Hello Jodie,&lt;/p&gt;
&lt;p&gt;1. nRF Connect SDK v2.0.0 and Zephyr SDK v3.0.99 are compatible. The partition manager should function correctly and take child images into account as well.&lt;/p&gt;
&lt;p&gt;2. The pull request was for the latest state of development, not for v2.0.0, so I suggest you edit the files in your local repository.&lt;/p&gt;
&lt;p&gt;3. I can&amp;#39;t provide you with an exact release date, but it is under evaluation, and should be included in an upcoming release of NCS.&lt;/p&gt;
[quote user="jodiem"]I have merged &lt;a href="https://github.com/nrfconnect/sdk-nrf/pull/7927"&gt;https://github.com/nrfconnect/sdk-nrf/pull/7927&lt;/a&gt;&amp;nbsp;locally&amp;nbsp;into the nrf_sdk directory. This has caused other issues&amp;nbsp;I needed to checkout the main branch for both the nrf and the zephyr... which cause more build issues.[/quote]
&lt;p&gt;If you need any assistance to figure out your new issues, I am happy to help. &lt;/p&gt;
&lt;p&gt;BR,&lt;/p&gt;
&lt;p&gt;Maria&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Enabling Bluetooth to the Littlefs sample app will make the littlefs **NOT** use external flash.</title><link>https://devzone.nordicsemi.com/thread/379374?ContentTypeID=1</link><pubDate>Fri, 29 Jul 2022 19:10:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:920da8a0-b519-4917-8420-686220c41230</guid><dc:creator>jodiem</dc:creator><description>&lt;p&gt;Hello Maria,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks for looking into this.&lt;/p&gt;
&lt;p&gt;Just for clarification:&lt;/p&gt;
&lt;p&gt;1. Is there a limitation using&lt;strong&gt; Version 2.0.0 nrf_sdk&lt;/strong&gt; with the&amp;nbsp;&lt;strong&gt;v3.0.99-ncs1&lt;/strong&gt; to share the partition manager with the child image?&lt;/p&gt;
&lt;p&gt;2. Should I Just look at &lt;strong&gt;Pull 7927&lt;/strong&gt; and&amp;nbsp;modify the v2.0.0 branch ... Instead of merging it.&lt;/p&gt;
&lt;p&gt;3. Is there a planned release of the SDK with pull 7927?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I have merged &lt;a id="" href="https://github.com/nrfconnect/sdk-nrf/pull/7927"&gt;https://github.com/nrfconnect/sdk-nrf/pull/7927&lt;/a&gt;&amp;nbsp;locally&amp;nbsp;into the nrf_sdk directory. This has caused other issues&amp;nbsp;I needed to checkout the main branch for both the nrf and the zephyr... which cause more build issues.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Jodie&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Enabling Bluetooth to the Littlefs sample app will make the littlefs **NOT** use external flash.</title><link>https://devzone.nordicsemi.com/thread/379323?ContentTypeID=1</link><pubDate>Fri, 29 Jul 2022 12:48:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:686b385b-8255-43ea-9b06-2a4f17261e96</guid><dc:creator>Maria Gilje</dc:creator><description>&lt;p&gt;Hello again jodiem,&lt;/p&gt;
[quote user=""]The example code will &lt;strong&gt;NOT&lt;/strong&gt; use the qspi flash if I add &lt;strong&gt;&amp;quot;CONFIG_BT&amp;quot;&lt;/strong&gt; to the prj.conf[/quote]
&lt;p&gt;The cause for this is setting CONFIG_BT=y on the nRF5340 will implicitly cause the child image hci_rpmsg to be built for the network core. The existence of a child image again invokes the partition manager which will cause the flash partitions set in the devicetree to be ignored. &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/82821/after-enabling-mcuboot-in-ncs-external-flash-doesn-t-get-picked-up-by-littlefs/344014"&gt;This reply&lt;/a&gt; to an older case contains further explanation and some useful links. A more recent reply in the same case contains a sample which demonstrates statically defining the flash partitions. &lt;/p&gt;
&lt;p&gt;This &lt;a href="https://github.com/nrfconnect/sdk-nrf/pull/7927"&gt;pull request&lt;/a&gt; also provides a partial solution to your issue.&lt;/p&gt;
&lt;p&gt;I hope some of this information may be of help to you.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Maria&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Enabling Bluetooth to the Littlefs sample app will make the littlefs **NOT** use external flash.</title><link>https://devzone.nordicsemi.com/thread/379032?ContentTypeID=1</link><pubDate>Thu, 28 Jul 2022 06:46:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:26dd676d-ebe0-4a4c-937b-282c969e7d50</guid><dc:creator>Maria Gilje</dc:creator><description>&lt;p&gt;Hello jodiem,&lt;/p&gt;
&lt;p&gt;Just letting you know that I am looking into this, and I will get back to you soon.&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Maria&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>