With nRF5340 : How to use internal and external flash both as Littlefs to store data

Hi All,

In nRF5340DK board, with ncs SDK(v1.9.1), we can use internal flash partition as Littlefs and store data into it. we are able to find sample demo for external flash as littlefs.

Now we want to add external Flash(MX25R64) and internal flash both as littlefs and use both to store data into it for different purpose.

Question:

1) Can we use both internal flash storage partition and external flash as littlefs to store data ?

2) Is there any demo sample which describes to configure and use internal and external flash both as littlefs ?

  • Hello,

    Thank you very much for your immediate response.

    I have a follow-up question on your setup.

    Do I have to define the partitions as static with a pm_static.yml file do to this? or do I have to just setup the pm_static.yml only for the external memory partitions?

    Also, would it be possible for you to show how you setup of the internal storage in your dts. . The line where you placed the "littlefs_storage" label, for example, any fstab nodes used and the partitions defined in your .dts .

    Thank you very much your help is appreciated!

  • I'd suggest creating a new ticket if you need additional help setting this up, and potentially link to this case if you find it relevant, as this case is more than a year old at this point.

1 2 3