LVGL on Linux mini review

Hi,
Will toggle the LV_COLOR_16_SWAP macro and check for the color.
But my concern is to use DRM instead of FBDEV.

Can i get help on this? I have enabled the USE_DRM macro in lv_drv_conf.h file
Also changed the fbdev functions to drm functions.
main.c (2.5 KB)
Cross compiler used: arm-poky-linux-gnueabi-gcc

When cross compiled the lv_port_linux_frame_buffer example with above main.c file, getting errors on drm calls.

Please help in resolving these errors.
It is also mentioned in the below post. But no response in the forum for this query.

  1. Will i be able to use DRM instead of FBDEV?
  2. If yes, why are we getting errors when USE_DRM is enabled?

Thanks.