blob: 0c6d6de99f4926669fdc5c076eea4e3d6ccc81e0 [file] [log] [blame]
# Copyright (c) 2020 Teslabs Engineering S.L.
# SPDX-License-Identifier: Apache-2.0
if SHIELD_BUYDISPLAY_2_8_TFT_TOUCH_ARDUINO
if DISPLAY
if KSCAN
# NOTE: Enable if IRQ line is available (requires to solder jumper)
config KSCAN_FT5336_INTERRUPT
default n
endif # KSCAN
if LVGL
config LV_Z_VDB_SIZE
default 64
config LV_Z_BITS_PER_PIXEL
default 16
choice LV_COLOR_DEPTH
default LV_COLOR_DEPTH_16
endchoice
config LV_COLOR_16_SWAP
default y
config KSCAN
default y
config LV_Z_POINTER_KSCAN
default y
config LV_Z_POINTER_KSCAN_SWAP_XY
default y
config LV_Z_POINTER_KSCAN_INVERT_X
default y
config LV_Z_POINTER_KSCAN_INVERT_Y
default y
endif # LVGL
endif # DISPLAY
endif # SHIELD_BUYDISPLAY_2_8_TFT_TOUCH_ARDUINO