<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://test-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>In SDK 1.9.1 littlefs can not be assigned to external flash region</title><link>https://test-devzone.nordicsemi.com/f/nordic-q-a/86507/in-sdk-1-9-1-littlefs-can-not-be-assigned-to-external-flash-region</link><description>I think there were a few other cases that had a problem using external flash for littlefs, but I think I found out why it is not working in the latest SDK. 
 I configured all of the parameters for Partition manager, but the littlefs partition was always</description><dc:language>en-US</dc:language><generator>Telligent Community 13 Non-Production</generator><lastBuildDate>Fri, 10 Jun 2022 16:29:42 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://test-devzone.nordicsemi.com/f/nordic-q-a/86507/in-sdk-1-9-1-littlefs-can-not-be-assigned-to-external-flash-region" /><item><title>RE: In SDK 1.9.1 littlefs can not be assigned to external flash region</title><link>https://test-devzone.nordicsemi.com/thread/371949?ContentTypeID=1</link><pubDate>Fri, 10 Jun 2022 16:29:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dee35a9a-0669-43a4-9768-2a12b61bce87</guid><dc:creator>user97039</dc:creator><description>&lt;p&gt;I also looked over the PR and it appears that it should fix the original issue.&amp;nbsp; I look forward to the upcoming SDK release. Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: In SDK 1.9.1 littlefs can not be assigned to external flash region</title><link>https://test-devzone.nordicsemi.com/thread/371891?ContentTypeID=1</link><pubDate>Fri, 10 Jun 2022 12:33:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6ebdec78-eadd-4a20-b7c8-d88f04449189</guid><dc:creator>user110917</dc:creator><description>&lt;p&gt;Yes, it definitely addresses my concern and, as expected, in a much cleaner and more thorough way that I would have been able to implement. Looking forward to this change. Thanks!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: In SDK 1.9.1 littlefs can not be assigned to external flash region</title><link>https://test-devzone.nordicsemi.com/thread/371836?ContentTypeID=1</link><pubDate>Fri, 10 Jun 2022 10:51:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:19353f6d-867b-4737-9ed4-bab85f44ef17</guid><dc:creator>user73165</dc:creator><description>&lt;p&gt;Could you check if the suggested solution fixes your problem?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: In SDK 1.9.1 littlefs can not be assigned to external flash region</title><link>https://test-devzone.nordicsemi.com/thread/371657?ContentTypeID=1</link><pubDate>Thu, 09 Jun 2022 12:13:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cbf7cd57-c931-4929-b522-89264ab1da23</guid><dc:creator>user110917</dc:creator><description>&lt;p&gt;Wonderful! Thanks!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: In SDK 1.9.1 littlefs can not be assigned to external flash region</title><link>https://test-devzone.nordicsemi.com/thread/371562?ContentTypeID=1</link><pubDate>Thu, 09 Jun 2022 07:55:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3ae6c8f0-f507-4e53-95a0-93a075d686a1</guid><dc:creator>user73165</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user="KRich"]Great. Thanks for the response. Is there a pull request or open issue that we could follow for progress, so that we don&amp;#39;t have to continually follow up here?[/quote]
&lt;p&gt;&lt;a href="https://github.com/nrfconnect/sdk-nrf/pull/7927"&gt;Yes&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;Jared&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: In SDK 1.9.1 littlefs can not be assigned to external flash region</title><link>https://test-devzone.nordicsemi.com/thread/371457?ContentTypeID=1</link><pubDate>Wed, 08 Jun 2022 14:06:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:81ee7976-8c87-4285-b5fd-91dc6e4ad806</guid><dc:creator>user110917</dc:creator><description>&lt;p&gt;Great. Thanks for the response. Is there a pull request or open issue that we could follow for progress, so that we don&amp;#39;t have to continually follow up here?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: In SDK 1.9.1 littlefs can not be assigned to external flash region</title><link>https://test-devzone.nordicsemi.com/thread/371435?ContentTypeID=1</link><pubDate>Wed, 08 Jun 2022 13:35:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:476bf283-d699-4a24-bb53-89c188a7a56b</guid><dc:creator>user73165</dc:creator><description>&lt;p&gt;It&amp;#39;s still under evaluation. I would expect the fix to be included in the next NCS release.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: In SDK 1.9.1 littlefs can not be assigned to external flash region</title><link>https://test-devzone.nordicsemi.com/thread/370993?ContentTypeID=1</link><pubDate>Mon, 06 Jun 2022 16:17:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d2e142c5-a4f2-4be9-952c-c308f946a8f8</guid><dc:creator>user110917</dc:creator><description>[quote userid="73165" url="~/f/nordic-q-a/86507/in-sdk-1-9-1-littlefs-can-not-be-assigned-to-external-flash-region/369307#369307"]Aright, I&amp;#39;ll share the link when it has been submitted.&amp;nbsp;[/quote]
&lt;p&gt;Hi &lt;a href="https://test-devzone.nordicsemi.com/members/jared"&gt;Jared&lt;/a&gt;,&lt;/p&gt;
&lt;p&gt;Do you have any updates on this change?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: In SDK 1.9.1 littlefs can not be assigned to external flash region</title><link>https://test-devzone.nordicsemi.com/thread/369307?ContentTypeID=1</link><pubDate>Tue, 24 May 2022 13:46:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:64a324a6-ddba-4129-9dba-bf29bfe92c45</guid><dc:creator>user73165</dc:creator><description>&lt;p&gt;Aright, I&amp;#39;ll share the link when it has been submitted.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: In SDK 1.9.1 littlefs can not be assigned to external flash region</title><link>https://test-devzone.nordicsemi.com/thread/369303?ContentTypeID=1</link><pubDate>Tue, 24 May 2022 13:40:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8f76d1bf-a2b3-4e15-b08d-695afe3bae64</guid><dc:creator>user110917</dc:creator><description>&lt;p&gt;Thanks &lt;a href="https://test-devzone.nordicsemi.com/members/jared"&gt;Jared&lt;/a&gt;, if possible, it would be great to get a link to the PR if/when the developers submit it. That makes it a bit easier to track the resolution and availability. Thanks!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: In SDK 1.9.1 littlefs can not be assigned to external flash region</title><link>https://test-devzone.nordicsemi.com/thread/369299?ContentTypeID=1</link><pubDate>Tue, 24 May 2022 13:31:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cd8d55af-7290-474c-9470-d164dbb4ae99</guid><dc:creator>user73165</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve informed our developers, they&amp;#39;ll look at the suggested fix and add the PR.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;Jared&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: In SDK 1.9.1 littlefs can not be assigned to external flash region</title><link>https://test-devzone.nordicsemi.com/thread/369109?ContentTypeID=1</link><pubDate>Mon, 23 May 2022 17:08:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e1942879-8b96-420b-954b-82385d5121cc</guid><dc:creator>user110917</dc:creator><description>&lt;p&gt;Hi @Jared,&lt;/p&gt;
&lt;p&gt;Could you take a look at the discussion below and let us know if someone from Nordic can help get this change through (or let us know how to request this change more formally)?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: In SDK 1.9.1 littlefs can not be assigned to external flash region</title><link>https://test-devzone.nordicsemi.com/thread/368583?ContentTypeID=1</link><pubDate>Thu, 19 May 2022 11:31:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7a9f1e45-4076-449e-9e37-2e574be7e4be</guid><dc:creator>user110917</dc:creator><description>&lt;p&gt;I think the DCO may be a little difference. The CLA came up as I was attempting to create the Pull Request. Here is the link I got, hopefully it will work for you too: &lt;a href="https://cla-assistant.io/nrfconnect/sdk-nrf"&gt;https://cla-assistant.io/nrfconnect/sdk-nrf&lt;/a&gt;. It seems to load really slowly (and maybe not at all depending on the browser and network settings).&lt;/p&gt;
&lt;p&gt;Contributing &amp;quot;company work&amp;quot; back to the community is definitely one of the bigger challenges of OSS. Perhaps someone &lt;a href="https://test-devzone.nordicsemi.com/members/jared"&gt;@Jared &lt;/a&gt;could re-open the case and someone from Nordic could walk this change through for us.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: In SDK 1.9.1 littlefs can not be assigned to external flash region</title><link>https://test-devzone.nordicsemi.com/thread/368475?ContentTypeID=1</link><pubDate>Thu, 19 May 2022 00:02:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:744105ad-a093-4ff0-b236-a9c537894aa5</guid><dc:creator>user97039</dc:creator><description>&lt;p&gt;I think I found it under&amp;nbsp;Developer Certification of Origin (DCO)&amp;para;?&amp;nbsp; I&amp;#39;m also on the clock so to speak, so will have to check a bit further.&amp;nbsp; The downside of OSS?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: In SDK 1.9.1 littlefs can not be assigned to external flash region</title><link>https://test-devzone.nordicsemi.com/thread/368474?ContentTypeID=1</link><pubDate>Wed, 18 May 2022 23:59:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4643c31d-f672-4069-86ee-76bd83637680</guid><dc:creator>user97039</dc:creator><description>&lt;p&gt;Interesting, where is this Contributor License Agreement to be found? Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: In SDK 1.9.1 littlefs can not be assigned to external flash region</title><link>https://test-devzone.nordicsemi.com/thread/368171?ContentTypeID=1</link><pubDate>Tue, 17 May 2022 17:44:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:19581cdf-486d-43c1-b287-7e9460f2f666</guid><dc:creator>user110917</dc:creator><description>&lt;p&gt;Unfortunately, I got a little ahead of myself. Since I&amp;#39;m doing this &amp;quot;on company time&amp;quot; I am not able to sign the Contributor License Agreement so I will not be able to push the change through the PR process. Hopefully you, or someone from Nordic can take the patch above through the process.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: In SDK 1.9.1 littlefs can not be assigned to external flash region</title><link>https://test-devzone.nordicsemi.com/thread/368132?ContentTypeID=1</link><pubDate>Tue, 17 May 2022 03:47:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e6c278c9-af3d-40b4-b5a2-d7b4d519ad83</guid><dc:creator>user97039</dc:creator><description>&lt;p&gt;Looks good, what is the link for the PR? Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: In SDK 1.9.1 littlefs can not be assigned to external flash region</title><link>https://test-devzone.nordicsemi.com/thread/367380?ContentTypeID=1</link><pubDate>Wed, 11 May 2022 11:31:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2361a845-0aad-4e3f-adc0-d9b43e6d4287</guid><dc:creator>user110917</dc:creator><description>&lt;p&gt;This looks great. Thanks for posting it. I took things a little farther to try to implement the configurability you mentioned. Here is what I have so far.:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="diff"&gt;diff --git a/subsys/partition_manager/Kconfig b/subsys/partition_manager/Kconfig
index b4fb5050c..721011146 100644
--- a/subsys/partition_manager/Kconfig
+++ b/subsys/partition_manager/Kconfig
@@ -118,6 +118,18 @@ config PM_EXTERNAL_FLASH_MCUBOOT_SECONDARY
 	  of the internal flash. This option should only be enabled by the user
 	  in the parent image.
 
+config PM_EXTERNAL_FLASH_LITTLEFS
+	bool &amp;quot;Place the LittleFS partition in external flash&amp;quot;
+	depends on FILE_SYSTEM_LITTLEFS
+	# Only depend on the chosen for the parent image. The value of this
+	# option is propagated to the MCUboot child image automatically.
+	depends on $(dt_chosen_enabled,$(DT_CHOSEN_EXT_FLASH))
+	default n
+	help
+	  Place the partition for LittleFS in the external flash instead
+	  of the internal flash. This option should only be enabled by the user
+	  in the parent image.
+
 config PM_IMAGE_NOT_BUILT_FROM_SOURCE
 	bool
 	help
diff --git a/subsys/partition_manager/pm.yml.file_system b/subsys/partition_manager/pm.yml.file_system
index 7c5462a87..3ff79a7bd 100644
--- a/subsys/partition_manager/pm.yml.file_system
+++ b/subsys/partition_manager/pm.yml.file_system
@@ -2,6 +2,9 @@
 
 #ifdef CONFIG_FILE_SYSTEM_LITTLEFS
 littlefs_storage:
+#if defined(CONFIG_PM_EXTERNAL_FLASH_LITTLEFS)
+  region: external_flash
+#endif
   placement: {before: [tfm_storage, end]}
   size: CONFIG_PM_PARTITION_SIZE_LITTLEFS
 #endif
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;I will submit this as the starting point for a PR later today&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: In SDK 1.9.1 littlefs can not be assigned to external flash region</title><link>https://test-devzone.nordicsemi.com/thread/367271?ContentTypeID=1</link><pubDate>Tue, 10 May 2022 23:47:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0300fb4b-7b23-44b1-b4a1-7bd511f123dc</guid><dc:creator>user97039</dc:creator><description>&lt;p&gt;Here was the key change in the SDK, it seems by default there was no way to get the littlefs to goto external memory in the partition manager, but it should be selectable in a PR.&lt;/p&gt;
&lt;p&gt;There were a number of other changes that were needed as well to get it full configured.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;diff --git a/subsys/partition_manager/pm.yml.file_system b/subsys/partition_manager/pm.yml.file_system
index 2b9907380..73008bbde 100644
--- a/subsys/partition_manager/pm.yml.file_system
+++ b/subsys/partition_manager/pm.yml.file_system
@@ -2,6 +2,7 @@
 
 #ifdef CONFIG_FILE_SYSTEM_LITTLEFS
 littlefs_storage:
+  region: external_flash
   placement: {before: [end]}
   size: CONFIG_PM_PARTITION_SIZE_LITTLEFS
 #endif
&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: In SDK 1.9.1 littlefs can not be assigned to external flash region</title><link>https://test-devzone.nordicsemi.com/thread/367266?ContentTypeID=1</link><pubDate>Tue, 10 May 2022 22:21:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:37d281bb-ca63-4b0a-9b7d-7329408bf15d</guid><dc:creator>user97039</dc:creator><description>&lt;p&gt;I have a solution that seemed to work, but had more important items and I was also waiting for a fix for 32bit SFlash addressing from upstream.&amp;nbsp; I&amp;#39;ll post it here shortly if you want to take a look and try it.&amp;nbsp; But I have not had much time to work on a more generic fix that is required to get it working in the official SDK.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: In SDK 1.9.1 littlefs can not be assigned to external flash region</title><link>https://test-devzone.nordicsemi.com/thread/367246?ContentTypeID=1</link><pubDate>Tue, 10 May 2022 17:24:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:580daecb-69fb-4702-9ab8-1c7b424f0c21</guid><dc:creator>user110917</dc:creator><description>&lt;p&gt;Have you had an opportunity to work on this yet? I am facing the same issue and very interested in this change. I would be happy to work up a (or help with your) PR if you don&amp;#39;t have time.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: In SDK 1.9.1 littlefs can not be assigned to external flash region</title><link>https://test-devzone.nordicsemi.com/thread/361441?ContentTypeID=1</link><pubDate>Mon, 04 Apr 2022 09:26:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b2e197f1-ea15-4e6b-b20e-44db3de1e2d2</guid><dc:creator>user73165</dc:creator><description>&lt;p&gt;Great, I&amp;#39;ll close this case then.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: In SDK 1.9.1 littlefs can not be assigned to external flash region</title><link>https://test-devzone.nordicsemi.com/thread/361290?ContentTypeID=1</link><pubDate>Fri, 01 Apr 2022 19:12:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bca4f5a9-38ff-4a71-9957-452db4eeaee8</guid><dc:creator>user97039</dc:creator><description>&lt;p&gt;I&amp;#39;ll work on a PR this weekend.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: In SDK 1.9.1 littlefs can not be assigned to external flash region</title><link>https://test-devzone.nordicsemi.com/thread/361206?ContentTypeID=1</link><pubDate>Fri, 01 Apr 2022 11:07:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ffc3fc50-2992-4811-a975-9e9457ac3ad4</guid><dc:creator>user73165</dc:creator><description>&lt;p&gt;Hi there,&lt;/p&gt;
&lt;p&gt;Could you do a pull request to the NCS &lt;span&gt;repository&lt;/span&gt;? The appropriate person will then evaluate the issue and fix.&lt;/p&gt;
&lt;p&gt;Thank you!&lt;/p&gt;
&lt;p&gt;best regards&lt;/p&gt;
&lt;p&gt;Jared&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>