Home
last modified time | relevance | path

Searched refs:file (Results 1 – 25 of 55) sorted by relevance

123

/lvgl-latest/env_support/cmake/
Desp.cmake1 file(GLOB_RECURSE SOURCES ${LVGL_ROOT_DIR}/src/*.c)
17 file(GLOB_RECURSE EXAMPLE_SOURCES ${LVGL_ROOT_DIR}/examples/*.c)
22 file(GLOB_RECURSE DEMO_WIDGETS_SOURCES ${LVGL_ROOT_DIR}/demos/widgets/*.c)
26 file(GLOB_RECURSE DEMO_KEYPAD_AND_ENCODER_SOURCES ${LVGL_ROOT_DIR}/demos/keypad_encoder/*.c)
30 file(GLOB_RECURSE DEMO_BENCHMARK_SOURCES ${LVGL_ROOT_DIR}/demos/benchmark/*.c)
34 file(GLOB_RECURSE DEMO_STRESS_SOURCES ${LVGL_ROOT_DIR}/demos/stress/*.c)
38 file(GLOB_RECURSE DEMO_MUSIC_SOURCES ${LVGL_ROOT_DIR}/demos/music/*.c)
Dcustom.cmake17 file(GLOB_RECURSE SOURCES ${LVGL_ROOT_DIR}/src/*.c)
18 file(GLOB_RECURSE EXAMPLE_SOURCES ${LVGL_ROOT_DIR}/examples/*.c)
19 file(GLOB_RECURSE DEMO_SOURCES ${LVGL_ROOT_DIR}/demos/*.c)
50 file(GLOB LVGL_PUBLIC_HEADERS "${CMAKE_SOURCE_DIR}/lv_conf.h"
Dmicropython.cmake1 file(GLOB_RECURSE SOURCES ${LVGL_ROOT_DIR}/src/*.c)
2 file(GLOB_RECURSE EXAMPLE_SOURCES ${LVGL_ROOT_DIR}/examples/*.c)
/lvgl-latest/src/misc/
Dlv_log.c66 void _lv_log_add(lv_log_level_t level, const char * file, int line, const char * func, const char *… in _lv_log_add() argument
78 for(p = strlen(file); p > 0; p--) { in _lv_log_add()
79 if(file[p] == '/' || file[p] == '\\') { in _lv_log_add()
92 printf(" \t(in %s line #%d)\n", &file[p], line); in _lv_log_add()
100 … lvl_prefix[level], t / 1000, t % 1000, t - last_log_time, func, msg, &file[p], line); in _lv_log_add()
104 … lvl_prefix[level], t / 1000, t % 1000, t - last_log_time, func, (void *)&vaf, &file[p], line); in _lv_log_add()
Dlv_log.h83 void _lv_log_add(lv_log_level_t level, const char * file, int line,
140 #define _lv_log_add(level, file, line, ...) argument
/lvgl-latest/docs/overview/
Dfile-system.md3 LVGL has a 'File system' abstraction module that enables you to attach any type of file system.
4 A file system is identified by an assigned drive letter.
5 …, if an SD card is associated with the letter `'S'`, a file can be reached using `"S:path/to/file.…
23 drv.open_cb = my_open_cb; /*Callback to open a file */
24 drv.close_cb = my_close_cb; /*Callback to close a file */
25 drv.read_cb = my_read_cb; /*Callback to read a file */
26 drv.write_cb = my_write_cb; /*Callback to write a file */
27 drv.seek_cb = my_seek_cb; /*Callback to seek in a file (Move cursor) */
51 `path` is the path after the drive letter (e.g. "S:path/to/file.txt" -> "path/to/file.txt"). `mode`…
53 …turn value is a pointer to a *file object* that describes the opened file or `NULL` if there were …
[all …]
Dimage.md3 An image can be a file or a variable which stores the bitmap itself and some metadata.
8 - as a file
24 …collection of functions (*open*, *read*, *close*, etc.) registered in LVGL to make file operations.
25 You can add an interface to a standard file system (FAT32 on SD card) or you create your simple fil…
27 See the [File system](/overview/file-system) section to learn more.
77 …e a `.bin` file that must be stored separately and read using the [file support](#files). Choosing…
78 …tton. Once the conversion is finished, your browser will automatically download the resulting file.
80 …, bitmaps for all the color depths (1, 8, 16 or 32) are included in the C file, but only the color…
119 /*From file*/
123 … you should use `LV_IMG_DECLARE(my_icon_dsc)` to declare the image in the file where you want to u…
[all …]
/lvgl-latest/src/extra/libs/tiny_ttf/
Dlv_tiny_ttf.c22 lv_fs_file_t * file; member
30 if(stream->file != NULL) { in ttf_cb_stream_read()
32 lv_fs_read(stream->file, data, to_read, &br); in ttf_cb_stream_read()
44 if(stream->file != NULL) { in ttf_cb_stream_seek()
45 lv_fs_seek(stream->file, position, LV_FS_SEEK_SET); in ttf_cb_stream_seek()
67 lv_fs_file_t file; member
188 if(LV_FS_RES_OK != lv_fs_open(&dsc->file, path, LV_FS_MODE_RD)) { in lv_tiny_ttf_create()
192 dsc->stream.file = &dsc->file; in lv_tiny_ttf_create()
195 dsc->stream.file = NULL; in lv_tiny_ttf_create()
274 if(ttf->stream.file != NULL) { in lv_tiny_ttf_destroy()
[all …]
/lvgl-latest/scripts/
Dfiletohex.py4 with open(sys.argv[1], 'r') as file:
5 s = file.read()
DDoxyfile3 # This file describes the settings to be used by the documentation system
20 # This tag specifies the encoding used for all characters in the config file
68 # performance problems for the file system.
97 # descriptions after the members that are listed in the file and class
118 # the entity):The $name class, The $name widget, The $name file, is, provides,
123 "The $name file" \
149 # before files name in the file list and in the header files. If set to NO the
150 # shortest path that makes the file name unique will be used
157 # part of the path. The tag can be used to show relative paths in the file list.
169 # header file to include in order to use a class. If left blank only the name of
[all …]
/lvgl-latest/docs/libs/
Dgif.md11 To convert a GIF file to byte values array use [LVGL's online converter](https://lvgl.io/tools/imag…
14 ## Use GIF images from file
20 …that, a file system driver needs to be registered to open images from files. Read more about it [h…
Dsjpg.md11 - SJPG size will be almost comparable to the jpg file or might be a slightly larger.
12 - File read from file and c-array are implemented.
24 …e that, a file system driver needs to registered to open images from files. Read more about it [he…
53 walpaper.sjpg (bin file)
Dtiny_ttf.md12 By default, the TTF or OTF file must be embedded as an array, either in
17 allowing tiny_ttf to stream from a file. The file must remain open the
Dbmp.md13 …e that, a file system driver needs to registered to open images from files. Read more about it [he…
17 - BMP files can be loaded only from file. If you want to store them in flash it's better to convert…
Dfsdrv.md4 …m](https://docs.lvgl.io/master/overview/file-system.html) module to provide an abstraction layer f…
41 After that you can access files using that driver letter. E.g. `"S:path/to/file.txt"`.
43 The work directory can be set with `LV_FS_..._PATH`. E.g. `"/home/joe/projects/"` The actual file/d…
Drlottie.md35 ### Use Rlottie from file
37 To create a Lottie animation from file use:
42 Note that, Rlottie uses the standard STDIO C file API, so you can use the path "normally" and no LV…
48 - avoid escaping `"` in the JSON file
51 `lvgl/scripts/filetohex.py` can be used to convert a Lottie file a hex array. E.g.:
Dffmpeg.md7 …s --enable-encoders --enable-demuxers --enable-parsers --enable-protocol='file' --enable-swscale -…
20 Note that, the FFmpeg extension doesn't use LVGL's file system.
Dpng.md8 …e that, a file system driver needs to registered to open images from files. Read more about it [he…
/lvgl-latest/env_support/cmsis-pack/
Dlv_cmsis_pack.txt5 * you may not use this file except in compliance with the License. *
19 * @file lv_cmsis_pack.c
21 * @brief This file will only be used by cmsis-pack.
/lvgl-latest/src/extra/libs/sjpg/
Dlv_sjpg.c218 lv_fs_file_t file; in decoder_info() local
219 lv_fs_res_t res = lv_fs_open(&file, fn, LV_FS_MODE_RD); in decoder_info()
223 res = lv_fs_read(&file, buff, 8, &rn); in decoder_info()
225 lv_fs_close(&file); in decoder_info()
230 lv_fs_seek(&file, 14, LV_FS_SEEK_SET); in decoder_info()
231 res = lv_fs_read(&file, buff, 4, &rn); in decoder_info()
233 lv_fs_close(&file); in decoder_info()
243 lv_fs_close(&file); in decoder_info()
249 lv_fs_file_t file; in decoder_info() local
250 lv_fs_res_t res = lv_fs_open(&file, fn, LV_FS_MODE_RD); in decoder_info()
[all …]
/lvgl-latest/docs/get-started/platforms/
Darduino.md27 LVGL has its own configuration file called `lv_conf.h`. When LVGL is installed, follow these config…
30 3. Open `lv_conf.h` and change the first `#if 0` to `#if 1` to enable the content of the file
49 In the INO file you can see how to register a display and a touchpad for LVGL and call an example.
53 Note that, there is no dedicated INO file for every example. Instead, you can load an example by ca…
67 To enable this feature you have to edit the `lv_conf.h` file and enable logging in the section `log…
/lvgl-latest/examples/libs/bmp/
Dindex.rst1 Open a BMP image from file
/lvgl-latest/examples/libs/png/
Dindex.rst1 Open a PNG image from file and variable
/lvgl-latest/examples/libs/gif/
Dindex.rst1 Open a GIF image from file and variable
/lvgl-latest/tests/
DCMakeLists.txt318 # Include lvgl project file.
351 # Generate one test executable for each source file pair.
354 file( GLOB TEST_CASE_FILES src/test_cases/*.c )
356 # If test file is foo/bar/baz.c then test_name is "baz".
361 # Create path to auto-generated source file.

123