Lines Matching +full:- +full:c
15 If you want to skip the drive-letter prefix in Unix-like paths, you can use the
16 :c:macro:`LV_FS_DEFAULT_DRIVER_LETTER` config parameter.
20 Ready-to-use drivers
23 LVGL contains prepared drivers for the API of POSIX, standard C,
24 Windows, and `FATFS <http://elm-chan.org/fsw/ff/00index_e.html>`__.
36 the appropriate registered file-system driver for a given path.
41 letter must be unique among all registered file-system drivers, and in the range [A-Z]
59 | +-- This part gets passed to the OS-level file-system functions.
61 +-- This part LVGL strips from path string, and uses it to find the appropriate
68 **Examples for Unix-like file systems:**
70 - "Z:/etc/images/splash.png"
71 - "Z:/etc/images/left_button.png"
72 - "Z:/etc/images/right_button.png"
73 - "Z:/home/users/me/wip/proposal.txt"
75 **Examples for Windows/DOS-like file systems:**
77 - "Z:C:/Users/me/wip/proposal.txt"
78 - "Z:/Users/me/wip/proposal.txt" (if the default drive is known to be C:)
79 - "Z:C:/Users/Public/Documents/meeting_notes.txt"
80 - "Z:D:/to_print.docx"
82 Reminder: Note carefully that the prefixed "Z:" has nothing to do with the "C:" and
84 "Z:" is used to look up the driver for that file system in the list of all file-system
95 --------------------
102 .. code-block:: c
130 --------------------------
137 .. code-block:: c
141 ``path`` is the path after the drive letter (e.g. "S:path/to/file.txt" -> "path/to/file.txt").
150 ---------------
155 .. code-block:: c
164 `lv_fs_template.c <https://github.com/lvgl/lvgl/blob/master/examples/porting/lv_port_fs_template.c>…
165 This file also provides a template for new file-system drivers you can use if the
169 ---------------------------
171 As of this writing, the list of already-available file-system drivers can be enabled
172 by setting one or more of the following macros to a non-zero value in ``lv_conf.h``.
177 - :c:macro:`LV_USE_FS_FATFS`
178 - :c:macro:`LV_USE_FS_STDIO`
179 - :c:macro:`LV_USE_FS_POSIX`
180 - :c:macro:`LV_USE_FS_WIN32`
181 - :c:macro:`LV_USE_FS_MEMFS`
182 - :c:macro:`LV_USE_FS_LITTLEFS`
183 - :c:macro:`LV_USE_FS_ARDUINO_ESP_LITTLEFS`
184 - :c:macro:`LV_USE_FS_ARDUINO_SD`
191 If you are using one of the following file-system drivers:
193 - :c:macro:`LV_USE_FS_STDIO`
194 - :c:macro:`LV_USE_FS_POSIX`
195 - :c:macro:`LV_USE_FS_WIN32`
206 prefix the path with the driver-identifier letter, and do append a directory
209 **Examples for Unix-like file systems:**
211 .. code-block:: c
215 **Examples for Windows/DOS-like file systems:**
217 .. code-block:: c
219 #define LV_FS_WIN32_PATH "C:/Users/me/"
224 - "Z:wip/proposal.txt"
233 .. code-block:: c
255 .. code-block:: c
290 - open
291 - close
292 - read
293 - seek
294 - tell
323 ------------------------------------------------------
331 the cache is enabled"] --> B{{"is there cached data
333 B -->|yes| C{{"does the cache have
335 C -->|yes| D["copy all required bytes from
338 C -->|no| F["copy the available
342 --> G["seek the real file to the end
344 --> H{{"is the number of remaining bytes
346 H -->|yes| I["read the remaining bytes
349 H -->|no| J["eagerly read the real file
353 --> O["copy the required bytes
355 B -->|no| K["seek the real file to
357 --> L{{"is the number of required
360 L -->|yes| M["read the real file to
362 L -->|no| N["eagerly read the real file
366 --> P["copy the required bytes
370 -------------------------------------------------------
376 ------------------------------------------------------
383 ------------------------------------------------------