Now our project want change the interface from RGB to LVDS or MIPI interface . Can lvgl support ? If support , how to config ?
First off, you might want to reformat this question a bit: literally, it is now being displayed as some sort of code snippet?
Anyway, yes, LVGL can support LVDS or MIPI. Any interface is supported, you need to implement the
disp_flush function yourself Quick overview — LVGL documentation.
This function gets called whenever LVGL is done drawing a display buffer to be displayed on the screen. The function recieves a location on the screen and a buffer containing all of the pixels that need to be redrawn.
It is up to you to copy this area of pixels to the physical display. The interface needs to be implemented by you.