lvgl-demo: make HDMI the default display for ccimx6/ccimx6qp

In these platforms, /dev/fb0 corresponds to the LVDS display, so change the
demo's output framebuffer to /dev/fb3 to use the HDMI display instead.

https://onedigi.atlassian.net/browse/DEL-9878

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
This commit is contained in:
Gabriel Valcazar 2025-12-12 14:40:39 +01:00
parent 289a6e5e09
commit 55d58ea814
1 changed files with 3 additions and 1 deletions

View File

@ -28,9 +28,11 @@ SRCREV_FORMAT = "demo_lvgl"
EXTRA_OEMAKE = "DESTDIR=${D}" EXTRA_OEMAKE = "DESTDIR=${D}"
LVGL_CONFIG_DRM_CARD ?= "/dev/dri/card0" LVGL_CONFIG_DRM_CARD ?= "/dev/dri/card0"
LVGL_CONFIG_FBDEV_DEVICE ?= "/dev/fb0"
# Change DRM card used for i.MX8-based platforms # Change DRM card used for i.MX8-based platforms
LVGL_CONFIG_DRM_CARD:mx8-generic-bsp = "/dev/dri/card1" LVGL_CONFIG_DRM_CARD:mx8-generic-bsp = "/dev/dri/card1"
LVGL_CONFIG_FBDEV_DEVICE ?= "/dev/fb0"
# Change framebuffer used for the ccimx6/ccimx6qp (HDMI display)
LVGL_CONFIG_FBDEV_DEVICE:ccimx6 = "/dev/fb3"
LVGL_CONFIG_LV_USE_LOG = "1" LVGL_CONFIG_LV_USE_LOG = "1"
LVGL_CONFIG_LV_LOG_PRINTF = "1" LVGL_CONFIG_LV_LOG_PRINTF = "1"
LVGL_CONFIG_LV_MEM_SIZE = "(256 * 1024U)" LVGL_CONFIG_LV_MEM_SIZE = "(256 * 1024U)"