You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use imxrt-1052-based board, Zephyr 3.6.99 + integrated LVGL. My application should use 270 deg rotated orientation of lcd-panel. During lvgl_init() in zephyr\modules\lvgl\lvgl.c lvgl-disp resolution is set based on display_get_capabilities() output. But mcux_elcdif_get_capabilities() returns x/y_resolution of lcd-panel excluding rotation. So my lvgl-disp initilized as W=1024, H=768, instead of W=768, H=1024. imxrt has a built-in GPU/PXP which is used in elcdif-driver to rotate an image but this CONFIG_MCUX_ELCDIF_PXP_ROTATE_90/180/270 considered for data rotation, but not taken into account when determining display capabilities - if rotate 90/270 is active display height and width should be swaped. Is this a feature or bug?
As far as I know LVGL-lib has built-in rotation mechanism using NXP_PXP. So I tried to enable it by insert CONFIG_LV_USE_GPU_NXP_PXP in my prj.conf, but received error message modules/lib/gui/lvgl/src/draw/nxp/pxp/lv_draw_pxp_blend.c:37:10: fatal error: lvgl_support.h: No such file or directory
So it seems this option not integrated into Zephyr, or some files missed. Am I missing something?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I use imxrt-1052-based board, Zephyr 3.6.99 + integrated LVGL. My application should use 270 deg rotated orientation of lcd-panel. During
lvgl_init()
inzephyr\modules\lvgl\lvgl.c
lvgl-disp resolution is set based ondisplay_get_capabilities()
output. Butmcux_elcdif_get_capabilities()
returns x/y_resolution of lcd-panel excluding rotation. So my lvgl-disp initilized as W=1024, H=768, instead of W=768, H=1024. imxrt has a built-in GPU/PXP which is used in elcdif-driver to rotate an image but thisCONFIG_MCUX_ELCDIF_PXP_ROTATE_90/180/270
considered for data rotation, but not taken into account when determining display capabilities - if rotate 90/270 is active display height and width should be swaped. Is this a feature or bug?As far as I know LVGL-lib has built-in rotation mechanism using NXP_PXP. So I tried to enable it by insert
CONFIG_LV_USE_GPU_NXP_PXP
in my prj.conf, but received error messagemodules/lib/gui/lvgl/src/draw/nxp/pxp/lv_draw_pxp_blend.c:37:10: fatal error: lvgl_support.h: No such file or directory
So it seems this option not integrated into Zephyr, or some files missed. Am I missing something?
Beta Was this translation helpful? Give feedback.
All reactions