feat(dev): add nuttx lcd driver (#4377)
Signed-off-by: Peter Bee <bijunda1@xiaomi.com>
This commit is contained in:
32
Kconfig
32
Kconfig
@@ -1220,6 +1220,38 @@ menu "LVGL configuration"
|
||||
depends on LV_USE_LINUX_FBDEV && LV_LINUX_FBDEV_CUSTOM_BUFFER
|
||||
default 60
|
||||
|
||||
config LV_USE_NUTTX_LCD
|
||||
bool "Use NuttX LCD device"
|
||||
default n
|
||||
|
||||
choice
|
||||
prompt "NuttX LCD buffer size"
|
||||
depends on LV_USE_NUTTX_LCD
|
||||
default LV_NUTTX_LCD_SINGLE_BUFFER
|
||||
|
||||
config LV_NUTTX_LCD_SINGLE_BUFFER
|
||||
bool "One screen-sized buffer"
|
||||
|
||||
config LV_NUTTX_LCD_DOUBLE_BUFFER
|
||||
bool "Two screen-sized buffer"
|
||||
|
||||
config LV_NUTTX_LCD_CUSTOM_BUFFER
|
||||
bool "Custom-sized buffer"
|
||||
|
||||
endchoice
|
||||
|
||||
config LV_NUTTX_LCD_BUFFER_COUNT
|
||||
int
|
||||
depends on LV_USE_NUTTX_LCD
|
||||
default 0 if LV_NUTTX_LCD_CUSTOM_BUFFER
|
||||
default 1 if LV_NUTTX_LCD_SINGLE_BUFFER
|
||||
default 2 if LV_NUTTX_LCD_DOUBLE_BUFFER
|
||||
|
||||
config LV_NUTTX_LCD_BUFFER_SIZE
|
||||
int "Custom partial buffer size (in number of rows)"
|
||||
depends on LV_USE_NUTTX_LCD && LV_NUTTX_LCD_CUSTOM_BUFFER
|
||||
default 60
|
||||
|
||||
config LV_USE_LINUX_DRM
|
||||
bool "Use Linux DRM device"
|
||||
default n
|
||||
|
||||
Reference in New Issue
Block a user