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 Storage - APIs | Mbed OS 5 Documentation
but it is not at Full API list - APIs | Mbed OS 5 Documentation.
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 Full API list - APIs | Mbed OS 5 Documentation that has a link to FileSystem - APIs | Mbed OS 5 Documentation 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 Storage - APIs | Mbed OS 5 Documentation 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.