2021-12-21 20:50:13 +08:00
|
|
|
# Copyright (c) 2022 Huawei Inc.
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
|
|
|
config LVGL
|
2022-12-15 20:10:19 +08:00
|
|
|
bool "LVGL GUI library"
|
2021-12-21 20:50:13 +08:00
|
|
|
help
|
2022-12-15 20:10:19 +08:00
|
|
|
This option enables the LVGL GUI library.
|
2022-02-25 04:23:31 +08:00
|
|
|
|
2022-06-18 13:39:53 +08:00
|
|
|
if LVGL
|
2022-02-25 04:23:31 +08:00
|
|
|
|
|
|
|
config LV_Z_POINTER_KSCAN
|
|
|
|
bool
|
|
|
|
|
|
|
|
config LV_Z_POINTER_KSCAN_MSGQ_COUNT
|
|
|
|
int
|
|
|
|
default 10
|
|
|
|
|
|
|
|
config LV_Z_POINTER_KSCAN_SWAP_XY
|
|
|
|
bool
|
|
|
|
|
|
|
|
config LV_Z_POINTER_KSCAN_INVERT_X
|
|
|
|
bool
|
|
|
|
|
|
|
|
config LV_Z_POINTER_KSCAN_INVERT_Y
|
|
|
|
bool
|
|
|
|
|
2022-03-02 20:06:36 +08:00
|
|
|
choice LV_COLOR_DEPTH
|
2022-02-25 04:23:31 +08:00
|
|
|
default LV_COLOR_DEPTH_16
|
2023-03-01 19:08:49 +08:00
|
|
|
prompt "Color depth (bits per pixel)"
|
2022-02-25 04:23:31 +08:00
|
|
|
depends on LVGL
|
|
|
|
|
|
|
|
config LV_COLOR_DEPTH_32
|
|
|
|
bool "32: ARGB8888"
|
|
|
|
config LV_COLOR_DEPTH_16
|
|
|
|
bool "16: RGB565"
|
|
|
|
config LV_COLOR_DEPTH_8
|
|
|
|
bool "8: RGB232"
|
|
|
|
config LV_COLOR_DEPTH_1
|
2023-03-01 19:08:49 +08:00
|
|
|
bool "1: monochrome"
|
2022-02-25 04:23:31 +08:00
|
|
|
endchoice
|
|
|
|
|
|
|
|
config LV_COLOR_16_SWAP
|
|
|
|
bool
|
|
|
|
|
|
|
|
endif
|