配置 Framebuffer
- 调整 LVGL 色深。注: 色深对应的格式需要与显示驱动中的 frame buffer 格式对应。色深可选配置数值如下:
表 1. 色深配置值和 frame buffer 格式说明 色深配置值 描述 16 显示 buffer 格式为 rgb565 24 显示 buffer 格式为 rgb888 32 显示格式为 argb8888 - 在 SDK 根目录下执行
me,进入 menuconfig 的功能配置界面,配置如下:Application options ---> ArtInChip lvgl demo ---> (16) LVGL color depth(32/16) -
在 Luban-Lite 根目录下执行
me,进入 menuconfig 的功能配置界面,根据第2步中的配置,对应的配置如下 frame buffer 格式:Board options → Display Parameter--> select framebuffer format (rgb565)
