#define LV_FS_POSIX_CACHE_SIZE 0 /*>0 to cache this number of bytes in lv_fs_read()*/ #endif 2、再打开相对应的图片格式支持 *PNG decoder library*/ #define LV_USE_PNG 1 /*BMPdecoder library*/ #define LV_USE_BMP 0 /* JPG + split JPG decoder library. * Split JPG is a custom...
#ifLV_USE_FS_POSIX #defineLV_FS_POSIX_LETTER'/'/*Set an upper cased letter on which the drive will accessible (e.g. 'A')*/ #defineLV_FS_POSIX_PATH"/"/*Set the working directory. File/directory paths will be appended to it.*/ #defineLV_FS_POSIX_CACHE_SIZE 0/*>0 to cache th...
fs:文件系统和图像解码,包含文件系统接口的实现,以及第三方库的集成,如图像解码库(PNG、JPEG 等); misc:综合模块,包含一些杂项功能,如日志、数学工具、内存管理等。 lv_conf.h 是 LVGL的配置文件模板,用于自定义 LVGL 的行为和功能。通过配置该文件,可以根据硬件资源和项目需求调整 LVGL 的核心功能、内存管理、显...
lv_port_fs_template.c/h lv_port_indev_template.c/h 暂时只移植显示,所以复制lv_port_disp_template.c/h 到vendor/openvalley/niobeu4/demo/107_hdf_spi/lvgl下改名字为 lv_port_disp.c/h 将.c和.h里面的#if 0改为1 .c中#include "lv_port_disp_template.h"改为#include "lv_port_disp.h" H...
然后是lv_conf.h的配置 #define LV_USE_FS_POSIX 0 #if LV_USE_FS_POSIX #define LV_FS_POSIX_LETTER 'S' /*Set an upper cased letter on which the drive will accessible (e.g. 'A')*/ #define LV_FS_POSIX_PATH "" /*Set the working directory. File/directory paths will be appended ...
//#define LV_FS_POSIX_PATH "/home/john/" /*Set the working directory. If commented it will be "./" */ #define LV_USE_FS_WIN32 '\0' /*Uses CreateFile, ReadFile, etc*/ //#define LV_FS_WIN32_PATH "C:\\Users\\john\\" /*Set the working directory. If commented it will be...
default 24 if LV_COLOR_DEPTH_24 default 32 if LV_COLOR_DEPTH_32 endmenu menu "Memory Settings" choice prompt "Malloc functions source" default LV_USE_BUILTIN_MALLOC config LV_USE_BUILTIN_MALLOC bool "LVGL's built in implementation" config LV_USE_CLIB_MALLOC bool "Standard ...
* - LV_STDLIB_RTTHREAD: RT-Thread implementation * - LV_STDLIB_CUSTOM: Implement the functions externally */ #define LV_USE_STDLIB_MALLOC LV_STDLIB_BUILTIN #define LV_USE_STDLIB_STRING LV_STDLIB_BUILTIN #define LV_USE_STDLIB_SPRINTF LV_STDLIB_BUILTIN #define LV_STDINT_INCLUDE <...
If you want to skip the drive-letter prefix in Unix-like paths, you can use the :c:macro:`LV_FS_DEFAULT_DRIVER_LETTER` config parameter. Ready-to-use drivers *** @@ -20,15 +24,80 @@ LVGL contains prepared drivers for the API of POSIX, standard C, Windows, and `FATFS <http:...
Powerful and easy-to-use embedded GUI library with many widgets, advanced visual effects (opacity, antialiasing, animations) and low memory requirements (16K RAM, 64K Flash). - lvgl/lv_conf_template.h at master · lulersoft/lvgl