feat(nuttx): refactor Nuttx porting layer (#4634)
Signed-off-by: YanXiaowei <yanxiaowei@xiaomi.com> Co-authored-by: YanXiaowei <yanxiaowei@xiaomi.com>
This commit is contained in:
19
Kconfig
19
Kconfig
@@ -1236,12 +1236,18 @@ menu "LVGL configuration"
|
||||
depends on LV_USE_LINUX_FBDEV && LV_LINUX_FBDEV_CUSTOM_BUFFER
|
||||
default 60
|
||||
|
||||
config LV_USE_NUTTX_FBDEV
|
||||
bool "Use Nuttx framebuffer device"
|
||||
config LV_USE_NUTTX
|
||||
bool "Use Nuttx to open window and handle touchscreen"
|
||||
default n
|
||||
|
||||
config LV_USE_NUTTX_CUSTOM_INIT
|
||||
bool "Use Custom Nuttx init API to open window and handle touchscreen"
|
||||
depends on LV_USE_NUTTX
|
||||
default n
|
||||
|
||||
config LV_USE_NUTTX_LCD
|
||||
bool "Use NuttX LCD device"
|
||||
depends on LV_USE_NUTTX
|
||||
default n
|
||||
|
||||
choice
|
||||
@@ -1272,6 +1278,11 @@ menu "LVGL configuration"
|
||||
depends on LV_USE_NUTTX_LCD && LV_NUTTX_LCD_CUSTOM_BUFFER
|
||||
default 60
|
||||
|
||||
config LV_USE_NUTTX_TOUCHSCREEN
|
||||
bool "Use NuttX touchscreen driver"
|
||||
depends on LV_USE_NUTTX
|
||||
default n
|
||||
|
||||
config LV_USE_LINUX_DRM
|
||||
bool "Use Linux DRM device"
|
||||
default n
|
||||
@@ -1279,10 +1290,6 @@ menu "LVGL configuration"
|
||||
config LV_USE_TFT_ESPI
|
||||
bool "Use TFT_eSPI driver"
|
||||
default n
|
||||
|
||||
config LV_USE_NUTTX_TOUCHSCREEN
|
||||
bool "Use NuttX touchscreen driver"
|
||||
default n
|
||||
endmenu
|
||||
|
||||
menu "Examples"
|
||||
|
||||
Reference in New Issue
Block a user