From 7decf84223ccd85599e6db9da5e31823cb562653 Mon Sep 17 00:00:00 2001 From: Marek Vasut Date: Wed, 20 Mar 2024 10:55:37 +0100 Subject: [PATCH] lvgl: Reinstate demo configuration settings The LVGL demo is configured slightly differently than the LVGL itself. Logging and printing is enabled, memory size is higher and compressed fonts are enabled. Reinstate the settings, otherwise the demo keeps crashing at least with SDL2 backend. Signed-off-by: Marek Vasut Signed-off-by: Khem Raj --- meta-oe/recipes-graphics/lvgl/lvgl-demo-fb_9.0.0.bb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/meta-oe/recipes-graphics/lvgl/lvgl-demo-fb_9.0.0.bb b/meta-oe/recipes-graphics/lvgl/lvgl-demo-fb_9.0.0.bb index 5ae930f5cf..308e74897f 100644 --- a/meta-oe/recipes-graphics/lvgl/lvgl-demo-fb_9.0.0.bb +++ b/meta-oe/recipes-graphics/lvgl/lvgl-demo-fb_9.0.0.bb @@ -24,6 +24,10 @@ EXTRA_OEMAKE = "DESTDIR=${D}" PACKAGECONFIG ??= "drm" LVGL_CONFIG_DRM_CARD ?= "/dev/dri/card0" +LVGL_CONFIG_LV_USE_LOG = "1" +LVGL_CONFIG_LV_LOG_PRINTF = "1" +LVGL_CONFIG_LV_MEM_SIZE = "(256 * 1024U)" +LVGL_CONFIG_LV_USE_FONT_COMPRESSED = "1" require lv-conf.inc inherit cmake