Hi, I’am trying to evaluate LVGL on this eval kit (STM32MP157F-DK2) but I’am having some dificulties. The simulator work fine on W10 / visual studio 19. I changed the driver to wayland as the original linux distro on the kit has a wayland-weston server. The compilation is fine and I’am trying to have the w10 demo work :
lv_init();
wayland_init();
lv_demo_widgets();
while (1)
{
lv_task_handler();
}
segfault when func is called :
/**
- Get the theme of a display
- @param disp pointer to a display
-
@return the display’s theme (can be NULL)
*/
lv_theme_t * lv_disp_get_theme(lv_disp_t * disp)
{
if(disp == NULL) disp = lv_disp_get_default();
return disp->theme;
}
But somehow a display is not correctly set and I get a segfault. Is there a reason why the wayland would’nt work on that platform ?
Do I have to add drm.h/c files to the solution ?
(I’am new to linux so bare with me…)
Thx for any help.