lv_fsdrv.h

Defines

LV_FS_MAX_PATH_LEN

Functions

void lv_fs_fatfs_init(void)
void lv_fs_stdio_init(void)
void lv_fs_posix_init(void)
void lv_fs_win32_init(void)
void lv_fs_memfs_init(void)
void lv_littlefs_set_handler(struct lfs*)
void lv_fs_littlefs_init(void)
void lv_fs_arduino_esp_littlefs_init(void)
void lv_fs_arduino_sd_init(void)
void lv_fs_uefi_init(void)
void lv_fs_frogfs_init(void)
void lv_fs_frogfs_deinit(void)
lv_result_t lv_fs_frogfs_register_blob(const void *blob, const char *path_prefix)

Mount a frogfs blob at the path prefix. If there is a file "foo.txt" in the blob and the blob is registered with path_prefix as "my_blob", it can be opened later at path "my_blob/foo.txt".

Parameters:
  • blob – a frogfs blob/image from mkfrogfs.py

  • path_prefix – a prefix that will be used to refer to this blob when accessing it.

Returns:

LV_RESULT_OK or LV_RESULT_INVALID if there was an issue with the blob

void lv_fs_frogfs_unregister_blob(const char *path_prefix)

Unmount a frogfs blob that was previously mounted by lv_fs_frogfs_register_blob. All files and dirs should be closed before calling this.

Parameters:

path_prefix – the path prefix that the blob was registered with