<?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>Unable to Mount LittleFS File System On External Flash On NRF54L15-DK</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/122015/unable-to-mount-littlefs-file-system-on-external-flash-on-nrf54l15-dk</link><description>Hi everyone, 
 I&amp;#39;m new to both nRF Connect SDK and Zephyr RTOS , and I’m trying to modify the official LittleFS FileSystem Sample to mount an external SPI flash as the storage backend. 
 So far, I haven&amp;#39;t been successful in getting it to work. 
 I&amp;#39;ve</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 23 Jun 2025 08:48:38 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/122015/unable-to-mount-littlefs-file-system-on-external-flash-on-nrf54l15-dk" /><item><title>RE: Unable to Mount LittleFS File System On External Flash On NRF54L15-DK</title><link>https://devzone.nordicsemi.com/thread/540158?ContentTypeID=1</link><pubDate>Mon, 23 Jun 2025 08:48:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:20607663-3189-4b43-9256-e62c1a491b38</guid><dc:creator>Hieu</dc:creator><description>&lt;p&gt;Hi Khalil,&lt;/p&gt;
&lt;p&gt;That&amp;#39;s great news.&amp;nbsp;I will close this case then &lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Hieu&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to Mount LittleFS File System On External Flash On NRF54L15-DK</title><link>https://devzone.nordicsemi.com/thread/540119?ContentTypeID=1</link><pubDate>Mon, 23 Jun 2025 00:28:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9758a763-feb3-4ac1-bf8a-73c07b82e3a6</guid><dc:creator>Khalil Tawosli</dc:creator><description>&lt;p&gt;Hi Hieu,&lt;/p&gt;
&lt;p&gt;I can confirm that the LittlefFS&amp;nbsp;mount on the external SPI flash is successfully completed and now is functionning as expecetd.&lt;/p&gt;
&lt;p&gt;Thank you verry much for you support and guidance throughout the process.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best Regards,&lt;/p&gt;
&lt;p&gt;Khalil&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to Mount LittleFS File System On External Flash On NRF54L15-DK</title><link>https://devzone.nordicsemi.com/thread/540068?ContentTypeID=1</link><pubDate>Fri, 20 Jun 2025 14:42:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0f23e7c1-f7a3-48df-a6e3-16636a803b80</guid><dc:creator>Hieu</dc:creator><description>&lt;p&gt;Hi Khalil,&lt;/p&gt;
&lt;p&gt;It seems adding&amp;nbsp;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;CONFIG_PM_OVERRIDE_EXTERNAL_DRIVER_CHECK=y&lt;/span&gt; will fix it.&lt;/p&gt;
&lt;p&gt;Ref:&amp;nbsp;&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/118765/little-fs-on-external-flash-with-nrf9161dk-and-ncs-2-8-0"&gt;Little FS on external FLASH with nrf9161dk and NCS 2.8.0&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Hieu&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to Mount LittleFS File System On External Flash On NRF54L15-DK</title><link>https://devzone.nordicsemi.com/thread/539464?ContentTypeID=1</link><pubDate>Tue, 17 Jun 2025 04:25:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c957d25c-a268-49b8-8a41-3b8b12fc5f02</guid><dc:creator>Khalil Tawosli</dc:creator><description>&lt;p&gt;Hi Hieu,&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve attached all relevant project files in a zip file format. The project is based on the original littlefs filesystem sample project.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Cheers,&lt;/p&gt;
&lt;p&gt;Khalil&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/0383.littlefs.zip"&gt;devzone.nordicsemi.com/.../0383.littlefs.zip&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to Mount LittleFS File System On External Flash On NRF54L15-DK</title><link>https://devzone.nordicsemi.com/thread/539405?ContentTypeID=1</link><pubDate>Mon, 16 Jun 2025 13:47:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:04521e58-1963-4bc6-b2b4-77a22c276d52</guid><dc:creator>Hieu</dc:creator><description>&lt;p&gt;Hi Khalil,&lt;/p&gt;
&lt;p&gt;Could you please share your current generated partitions.yml, and&amp;nbsp;all code lines relevant to mounting the FS?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Hieu&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to Mount LittleFS File System On External Flash On NRF54L15-DK</title><link>https://devzone.nordicsemi.com/thread/539294?ContentTypeID=1</link><pubDate>Mon, 16 Jun 2025 03:08:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3783ce20-a734-4898-92b1-c74c635213c3</guid><dc:creator>Khalil Tawosli</dc:creator><description>&lt;p&gt;Hi Hieu,&lt;/p&gt;
&lt;p&gt;Thank you again for looking into my issue and for your latest suggestion &amp;mdash; it successfully resolved the build warning.&lt;/p&gt;
&lt;p&gt;However, I&amp;rsquo;m still encountering the same runtime error -ENODEV (-19) when attempting to mount the LittleFS partition.&lt;/p&gt;
&lt;p&gt;Here&amp;rsquo;s the full terminal output:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;Following is the terminal printout string:
I: littlefs partition at /lfs1
I: LittleFS version 2.9, disk version 2.1
E: can&amp;#39;t open flash area 1
E: fs mount error (-19)
E: Automount /lfs1 failed: -19
*** Booting nRF Connect SDK v3.0.1-9eb5615da66b ***
*** Using Zephyr OS v4.0.99-77f865b8f8d0 ***
Sample program to r/w files on littlefs
E: FAIL: unable to find flash area 1: -2
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;I&amp;#39;m using the nRF54L15DK development board, and when I read the external flash JEDEC ID, it returns [c2 28 17], which correctly identifies the MX25R64 chip &amp;mdash; confirming that there is no hardware connectivity issue.&lt;/p&gt;
&lt;p&gt;Please let me know what else I should check or modify to get past this runtime mount error.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Khalil&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to Mount LittleFS File System On External Flash On NRF54L15-DK</title><link>https://devzone.nordicsemi.com/thread/539248?ContentTypeID=1</link><pubDate>Fri, 13 Jun 2025 18:09:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e64726cf-293b-4450-8fae-9b10fe9ac392</guid><dc:creator>Hieu</dc:creator><description>&lt;p&gt;Hello Khalil,&lt;/p&gt;
&lt;p&gt;My apology. It seems there was some syntax change. and the affiliation line should no longer be written the way I sent you. Could you please replace&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;  affiliation:
    -disk&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;with&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;  affiliation: disk&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Please make that replacement and retry from the pm_static.yml step.&lt;/p&gt;
[quote user="Khalil Tawosli"]P.S.:&amp;nbsp;&amp;nbsp;I removed&amp;nbsp;/delete-node/ &amp;amp;storage_partition; line from app.overlay and tried again. but still filesystem failes to mount[/quote]
&lt;p&gt;As you are using the Partition Manager, the partitioning in the DeviceTree isn&amp;#39;t in effect. Ref:&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-3.0.2/page/nrf/scripts/partition_manager/partition_manager.html"&gt;Partition Manager&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Hieu&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to Mount LittleFS File System On External Flash On NRF54L15-DK</title><link>https://devzone.nordicsemi.com/thread/538735?ContentTypeID=1</link><pubDate>Wed, 11 Jun 2025 04:32:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:beff7198-25d4-41b0-af16-0d5bfcff6f35</guid><dc:creator>Khalil Tawosli</dc:creator><description>&lt;p&gt;Hi Hieu,&lt;/p&gt;
&lt;p data-start="180" data-end="212"&gt;Thank you for the clarification.&lt;/p&gt;
&lt;p data-start="214" data-end="321"&gt;I&amp;rsquo;ve carefully gone through your recommended five steps again. Below is a detailed breakdown of what I did:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;I removed&amp;nbsp;the pm_static.yml file from the project,&amp;nbsp;along with the previously&amp;nbsp;added app.conf and app.overlay&amp;nbsp;files, otherwise the project wouldn&amp;#39;t buld/compile. The project is now the original LittleFS Sample project.&lt;/li&gt;
&lt;li&gt;I did a pristine build. No build errors observed&lt;/li&gt;
&lt;li&gt;I programmed the NRF54L15DK board.&amp;nbsp;I could see&amp;nbsp;from the consol output the internal flash is mounted correctly and the filesystem operated as expected..&lt;/li&gt;
&lt;li&gt;I copied the partitions.yml from&amp;nbsp;the build directory as a new pm_static.yml into the project directory.&lt;/li&gt;
&lt;li&gt;&lt;span&gt;In pm_static.yml file, I reconfigured the littlefs partition to external flash.&amp;nbsp;&lt;/span&gt;&lt;span&gt;&lt;/span&gt;&lt;span&gt;&lt;pre class="ui-code" data-mode="text"&gt;app:
  address: 0x0
  end_address: 0x15f000
  region: flash_primary
  size: 0x15f000
bootconf:
  address: 0xffd080
  end_address: 0xffd084
  region: bootconf
  size: 0x4
littlefs_storage:
  address: 0x00000000
  end_address: 0x00400000
  region: external_flash
  device: mx25r6435f
  size: 0x400000
  affiliation:
    -disk
  extra_params: {
      disk_name: &amp;quot;littlefs&amp;quot;,
      disk_cache_size: 4096,
      disk_sector_size: 512,
      disk_read_only: 0
    }
otp:
  address: 0xffd500
  end_address: 0xffd9fc
  region: otp
  size: 0x4fc
sram_primary:
  address: 0x20000000
  end_address: 0x2002f000
  region: sram_primary
  size: 0x2f000&lt;/pre&gt;&lt;/span&gt;&lt;span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;The project fail to compile at this point, so I added back the app.conf and app.ovrelay files back into the project. It now compiles with the following warning :&amp;nbsp;&lt;pre class="ui-code" data-mode="text"&gt;   warning: ISO C99 requires whitespace after the macro name
   58 | #define PM_FOREACH_AFFILIATED_TO_-disk(fn)  fn(LITTLEFS_STORAGE)
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
&lt;/pre&gt;&lt;/li&gt;
&lt;li&gt;After flashing the console output is as follows:&amp;nbsp;&lt;pre class="ui-code" data-mode="text"&gt;I: littlefs partition at /lfs1
I: LittleFS version 2.9, disk version 2.1
E: can&amp;#39;t open flash area 1
E: fs mount error (-19)
E: Automount /lfs1 failed: -19
*** Booting nRF Connect SDK v3.0.1-9eb5615da66b ***
*** Using Zephyr OS v4.0.99-77f865b8f8d0 ***&lt;/pre&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;For your reference, here&amp;#39;s the content of the relevant files:&lt;/p&gt;
&lt;p&gt;app.conf:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;CONFIG_SPI=y
CONFIG_SPI_NOR=y
CONFIG_SPI_NOR_FLASH_LAYOUT_PAGE_SIZE=4096
CONFIG_PM_PARTITION_REGION_LITTLEFS_EXTERNAL=y&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;app.overlay:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;/delete-node/ &amp;amp;storage_partition;

/ {
    chosen {
        nordic,pm-ext-flash = &amp;amp;mx25r64;
    };
};

/ {
	fstab {
		compatible = &amp;quot;zephyr,fstab&amp;quot;;
		lfs1: lfs1 {
			compatible = &amp;quot;zephyr,fstab,littlefs&amp;quot;;
			mount-point = &amp;quot;/lfs1&amp;quot;;
			partition = &amp;lt;&amp;amp;lfs1_partition&amp;gt;;
			automount;
			read-size = &amp;lt;16&amp;gt;;
			prog-size = &amp;lt;16&amp;gt;;
			cache-size = &amp;lt;64&amp;gt;;
			lookahead-size = &amp;lt;32&amp;gt;;
			block-cycles = &amp;lt;512&amp;gt;;
		};
	};
};

&amp;amp;mx25r64 {
	partitions {
		compatible = &amp;quot;fixed-partitions&amp;quot;;
		#address-cells = &amp;lt;1&amp;gt;;
		#size-cells = &amp;lt;1&amp;gt;;

		lfs1_partition: partition@0 {
			label = &amp;quot;lfs1_partition&amp;quot;;
			reg = &amp;lt;0x00000000 0x00800000&amp;gt;;
		};
	};
};
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Could you please advise which step or file configuration might be incorrect or incomplete?&lt;/p&gt;
&lt;p&gt;I&amp;#39;d apprecate your help in resolving this issue.&lt;/p&gt;
&lt;p&gt;Best Regards,&lt;/p&gt;
&lt;p&gt;Khalil&lt;/p&gt;
&lt;p&gt;P.S.:&amp;nbsp;&amp;nbsp;I removed&amp;nbsp;/delete-node/ &amp;amp;storage_partition; line from app.overlay and tried again. but still filesystem failes to mount.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to Mount LittleFS File System On External Flash On NRF54L15-DK</title><link>https://devzone.nordicsemi.com/thread/538715?ContentTypeID=1</link><pubDate>Tue, 10 Jun 2025 18:59:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6c7c8bb5-e3f0-40ed-bd3b-9fec4bf3b7d5</guid><dc:creator>Hieu</dc:creator><description>&lt;p&gt;Hello Khalil,&lt;/p&gt;
&lt;p&gt;That was not all the steps I recommended. Could you follow them closely please?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Hieu&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to Mount LittleFS File System On External Flash On NRF54L15-DK</title><link>https://devzone.nordicsemi.com/thread/538330?ContentTypeID=1</link><pubDate>Fri, 06 Jun 2025 01:29:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a58eb9bc-e22d-40e5-8069-10641340fe37</guid><dc:creator>Khalil Tawosli</dc:creator><description>&lt;p&gt;&lt;strong&gt;Thank you, Hieu, for your prompt response.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;I tried implementing your suggestion, but unfortunately, the modified LittleFS sample still throws the following runtime error:&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Sample program to r/w files on littlefs&lt;/em&gt;&lt;br /&gt;&lt;em&gt;E: FAIL: unable to find flash area 1: -2&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;I: littlefs partition at /lfs1&lt;/em&gt;&lt;br /&gt;&lt;em&gt;I: LittleFS version 2.9, disk version 2.1&lt;/em&gt;&lt;br /&gt;&lt;em&gt;E: can&amp;#39;t open flash area 1&lt;/em&gt;&lt;br /&gt;&lt;em&gt;E: fs mount error (-19)&lt;/em&gt;&lt;br /&gt;&lt;em&gt;E: Automount /lfs1 failed: -19&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Below is the compiled partitions.yaml output after applying your changes:&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;app:&lt;br /&gt; address: 0x0&lt;br /&gt; end_address: 0x165000&lt;br /&gt; region: flash_primary&lt;br /&gt; size: 0x165000&lt;br /&gt;bootconf:&lt;br /&gt; address: 0xffd080&lt;br /&gt; end_address: 0xffd084&lt;br /&gt; region: bootconf&lt;br /&gt; size: 0x4&lt;br /&gt;external_flash:&lt;br /&gt; address: 0x6000&lt;br /&gt; end_address: 0x800000&lt;br /&gt; region: external_flash&lt;br /&gt; size: 0x7fa000&lt;br /&gt;littlefs_storage:&lt;br /&gt; address: 0x0&lt;br /&gt; device: DT_CHOSEN(nordic_pm_ext_flash)&lt;br /&gt; end_address: 0x6000&lt;br /&gt; placement:&lt;br /&gt; before:&lt;br /&gt; - tfm_storage&lt;br /&gt; - end&lt;br /&gt; region: external_flash&lt;br /&gt; size: 0x6000&lt;br /&gt;otp:&lt;br /&gt; address: 0xffd500&lt;br /&gt; end_address: 0xffd9fc&lt;br /&gt; region: otp&lt;br /&gt; size: 0x4fc&lt;br /&gt;sram_primary:&lt;br /&gt; address: 0x20000000&lt;br /&gt; end_address: 0x2002f000&lt;br /&gt; region: sram_primary&lt;br /&gt; size: 0x2f000&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;And here&amp;#39;s the pm_static.yaml content I&amp;#39;m using&lt;/strong&gt;:&lt;/p&gt;
&lt;p&gt;littlefs_storage:&lt;br /&gt; address: 0xe7600&lt;br /&gt; end_address: 0x800000&lt;br /&gt; region: external_flash&lt;br /&gt; device: mx25r6435f&lt;br /&gt; size: 0x718000&lt;br /&gt; affiliation:&lt;br /&gt; -disk&lt;br /&gt; extra_params: {&lt;br /&gt; disk_name: &amp;quot;littlefs&amp;quot;,&lt;br /&gt; disk_cache_size: 4096,&lt;br /&gt; disk_sector_size: 512,&lt;br /&gt; disk_read_only: 0&lt;br /&gt; }&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;It&amp;rsquo;s worth noting that the generated partitions.yaml looks exactly the same even when I used a simplified pm_static.yaml like this:&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;littlefs_ext_storage:&lt;br /&gt; address: 0x00000000&lt;br /&gt; size: 0x00800000&lt;br /&gt; region: external_flash&lt;br /&gt; placement:&lt;br /&gt; before: end&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;strong&gt;I&amp;rsquo;m still stuck and wondering if you or anyone else could share a working sample project targeting the nRF54L15-DK that successfully mounts LittleFS on external SPI flash. That would be incredibly helpful for learning and troubleshooting.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Thanks again for your support!&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Best regards,&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;Khalil&lt;/strong&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to Mount LittleFS File System On External Flash On NRF54L15-DK</title><link>https://devzone.nordicsemi.com/thread/538165?ContentTypeID=1</link><pubDate>Thu, 05 Jun 2025 08:14:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:02eb8821-5c00-4c78-831b-f54e917e5be2</guid><dc:creator>Hieu</dc:creator><description>&lt;p&gt;Hello Khalil,&lt;/p&gt;
&lt;p&gt;Could you please follow these steps:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Remove your pm_static.yml from the project&lt;/li&gt;
&lt;li&gt;Build pristine once&lt;/li&gt;
&lt;li&gt;Verify that features in this build work. Stop here if this step failed.&lt;/li&gt;
&lt;li&gt;Copy the partitions.yml from that build directory as a new pm_static.yml&lt;/li&gt;
&lt;li&gt;Reconfigure the littlefs partition to external flash, remember to add some properties under the partitions as followed:&lt;br /&gt; &lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;affiliation:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;nbsp; -disk&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; extra_params: {&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;nbsp; &amp;nbsp; disk_name: &amp;quot;littlefs&amp;quot;,&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;nbsp; &amp;nbsp; disk_cache_size: 4096,&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;nbsp; &amp;nbsp; disk_sector_size: 512,&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;nbsp; &amp;nbsp; disk_read_only: 0&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;nbsp; }&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Here is an example:&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;littlefs_storage:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;nbsp; address: 0xe7600&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;nbsp; end_address: 0x800000&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;nbsp; region: external_flash&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;nbsp; device: mx25r6435f&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;nbsp; size: 0x718000&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;nbsp; affiliation:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;nbsp; &amp;nbsp; -disk&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;nbsp; extra_params: {&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; disk_name: &amp;quot;littlefs&amp;quot;,&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; disk_cache_size: 4096,&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; disk_sector_size: 512,&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; disk_read_only: 0&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;nbsp; &amp;nbsp; }&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Hieu&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>