使用目前最新的 Releases 版本 LVGL v8.2.0 ,移植好 freetype2 后测试,发现每次启动程序时会高概率出现屏幕显示全白色背景,无任何内容的问题。 打开日志开关,出现问题时会有如下打印: C++ lv_font_get_glyph_bitmap: Asserted at expression: font_p !=NULL(NULLpointer) (in lv_font.c line #51) ...
lvgl、freetype移植和编译(zlib、libpng) 2、毫秒级定时实现 /*Set in lv_conf.h as `LV_TICK_CUSTOM_SYS_TIME_EXPR`*/ //LVGL毫秒级定时实现,头文件 #include <sys/time.h> 在lv_conf.h里定义为 extern uint32_t custom_tick_get(void);找到#define LV_TICK_CUSTOM 定义为1 uint32_t custom_tick...
#define LV_USE_FREETYPE 0 #if LV_USE_FREETYPE /** Let FreeType use LVGL memory and file porting */ #define LV_FREETYPE_USE_LVGL_PORT 0 /** Cache count of glyphs in FreeType, i.e. number of glyphs that can be cached. * The higher the value, the more memory will be used. ...
lvgl 自带的Log 日志调试功能,在应用lv_conf.h文件使能宏LV_USE_LOG及相关配置: #defineLV_USE_LOG 1#defineLV_LOG_LEVEL LV_LOG_LEVEL_INFO#defineLV_LOG_PRINTF 1 另外在sunxifb.c文件或Makefile中定义宏LV_USE_SUNXIFB_DEBUG,可以 Log 打印出LVGL 实际刷图显示的帧率。 SPI 屏显示 LVGL 画面异常 应用l...
+LVGL8_USE_FREETYPE:libfreetype TITLE:=lvgl 2048 endef PKG_CONFIG_DEPENDS := \ CONFIG_LVGL8_USE_SUNXIFB_DOUBLE_BUFFER \ CONFIG_LVGL8_USE_SUNXIFB_CACHE \ CONFIG_LVGL8_USE_SUNXIFB_G2D \ CONFIG_LVGL8_USE_SUNXIFB_G2D_ROTATE define Package/$(PKG_NAME)/config ...
A redundant include in lv_freetype.c caught my attention and I found the include logic among the main 3 files needing some clean-up. The clean-up moved #includes so that only just the #includes nee...
config LV_USE_FREETYPE bool "FreeType library" config LV_FREETYPE_USE_LVGL_PORT bool "Let FreeType to use LVGL memory and file porting" default n depends on LV_USE_FREETYPE config LV_FREETYPE_CACHE_FT_GLYPH_CNT int "The maximum number of Glyph in count" default 256 depen...
I am sure I have installed freetype Framework Arduino Build tool PlatformIO Uses LVGL from platformIO === libs/lv_lib_freetype/lv_freetype.h:16:22: fatal error: ft2build.h: No such file or di...
#define LV_USE_FREETYPE 0 #if LV_USE_FREETYPE /*Let FreeType to use LVGL memory and file porting*/ #define LV_FREETYPE_USE_LVGL_PORT 0 /*Cache count of the glyphs in FreeType. It means the number of glyphs that can be cached. *The higher the value, the more memory will...
DEPENDS:=+LVGL8_USE_SUNXIFB_G2D:libuapi +LVGL8_USE_SUNXIFB_G2D:kmod-sunxi-g2d \+LVGL8_USE_FREETYPE:libfreetype TITLE:=lvgl 2048endefPKG_CONFIG_DEPENDS:=\ CONFIG_LVGL8_USE_SUNXIFB_DOUBLE_BUFFER \ CONFIG_LVGL8_USE_SUNXIFB_CACHE \ ...