Arm Mbed and Pelion Device Management support forum

LocalFileSystem on LPC1768 with OS5

Class LocalFileSystem seems to run quite fine with OS5 but in documentation
https://os.mbed.com/docs/mbed-os/v5.15/apis/index.html
it is not mentioned.
Does this means that one shall use one of those file systems mentioned there?
Found no hint on that.

Hi @Reissner
Thank you for raising this issue.
Doesn’t the filesystem API answer your question?
Regards,
Mbed Support
Ron

Hello Ernst,

The local file system is mentioned here. But because it requires an interface chip with built-in storage it seems to be available only on LPC1768 and LPC11U24.

Hello Roneld and Zoltan,
I use LPC1768 only.
Old sources use LocalFileSystem.
I know it is mentioned at https://os.mbed.com/docs/mbed-os/v5.15/apis/storage.html
but it is not at https://os.mbed.com/docs/mbed-os/v5.15/apis/index.html.
Thats why is asked whether it is ok to use it or is somehow deprecated.
Also LocalFileSystem does not extend FileSystem but only FileSystemLike.

What do you suggest? Going on using LocalFileSystem on LPC1768 or moving to LittleFileSystem or what?
Also it seems more portable doing so.

Thank you for advice.

Ernst

Hi Ernst,
Doesn’t the last table in https://os.mbed.com/docs/mbed-os/v5.15/apis/index.html that has a link to https://os.mbed.com/docs/mbed-os/v5.15/apis/filesystem.html show local file system?
What am I missing?
Regards

No, not what I can see… What LPC1768 can use is the class named LocalFileSystem.
In https://os.mbed.com/docs/mbed-os/v5.15/apis/storage.html class LocalFileSystem is mentioned but unlike LittleFileSystem and FATFileSystem,
for LocalFileSystem, there is no link to the API.
It definitely works on the LPC1768
but what i want to know is, whether it is recommended to be used.
It seems not portable and docs is somehow hidden. as it is not in the api overview.

Best Regards,
Ernst

Pros:

  • If you have an LPC1768 mbed board and you’d like to quickly test a new idea which requires also some storage, but that isn’t your main focus, then the LocalFileSystem is very handy. Later on (in the product or custom board) it could be replaced with other type of file system.

Cons:

  • The type (model) of the IC installed on an LPC1768 mbed board for the 'LocalFileSystem` is not publicly known.
  • The source code of the firmware for the LocalFileSystem IC has never been released.

Obviously the cons above render the LocalFileSystem useless for custom boards or products.

1 Like