mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-08-31 08:05:49 +00:00
Align all Kconfig option names with LVGL names. The followed rule: LV_(.*) -> CONFIG_LVGL_(.*). Also replaced LVGL boolean configuration entries using if/else/endif with direct IS_ENABLED macro. Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
62 lines
801 B
Plaintext
62 lines
801 B
Plaintext
# Copyright (c) 2019 Linaro Limited
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
if SHIELD_ADAFRUIT_2_8_TFT_TOUCH_V2
|
|
|
|
if DISPLAY
|
|
|
|
config SPI
|
|
default y
|
|
|
|
config ILI9340
|
|
default y
|
|
|
|
if KSCAN
|
|
|
|
config I2C
|
|
default y
|
|
|
|
config KSCAN_FT5336
|
|
default y
|
|
|
|
# NOTE: Enable if IRQ line is available (requires to solder jumper)
|
|
config KSCAN_FT5336_INTERRUPT
|
|
default n
|
|
|
|
config KSCAN_INIT_PRIORITY
|
|
default 60
|
|
|
|
endif # KSCAN
|
|
|
|
if LVGL
|
|
|
|
config LVGL_DISPLAY_DEV_NAME
|
|
default "ILI9340"
|
|
|
|
config LVGL_HOR_RES_MAX
|
|
default 320
|
|
|
|
config LVGL_VER_RES_MAX
|
|
default 240
|
|
|
|
config LVGL_VDB_SIZE
|
|
default 64
|
|
|
|
config LVGL_BITS_PER_PIXEL
|
|
default 24
|
|
|
|
config KSCAN
|
|
default y
|
|
|
|
config LVGL_POINTER_KSCAN
|
|
default y
|
|
|
|
config LVGL_POINTER_KSCAN_DEV_NAME
|
|
default "FT5336"
|
|
|
|
endif # LVGL
|
|
|
|
endif # DISPLAY
|
|
|
|
endif # SHIELD_ADAFRUIT_2_8_TFT_TOUCH_V2
|