mirror of
https://github.com/lvgl/lvgl.git
synced 2025-01-21 06:53:01 +08:00
18f61c5f77
* move png, sjpg, bmp, gif, fs_if to extra/libs * reorganize the examples * update lv_conf_internal.h * fix warnings * add freetype * remove unused assets * add the new libs to build tests * update the docs
20 lines
817 B
Markdown
20 lines
817 B
Markdown
```eval_rst
|
|
.. include:: /header.rst
|
|
:github_url: |github_link_base|/libs/fs.md
|
|
```
|
|
|
|
# File System Interfaces
|
|
|
|
LVGL has a [File system](https://docs.lvgl.io/master/overview/file-system.html) module to provides an abstraction layer for various file system drivers.
|
|
|
|
LVG has build in support for
|
|
- [FATFS](http://elm-chan.org/fsw/ff/00index_e.html)
|
|
- STDIO (Linux and Windows using C standard function .e.g fopen, fread)
|
|
- POSIX (Linux and Windows using POSIX function .e.g open, read)
|
|
|
|
You still need to provide the drivers and libraries, this extensions provide only the bridge between FATFS, STDIO, POSIX and LVGL.
|
|
|
|
## Usage
|
|
|
|
In `lv_conf.h` set a driver letter for one or more `LV_FS_USE_...` define(s). After that you can access files using that driver letter. Setting `'\0'` will disable use of that interface.
|