39 lines
559 B
Plaintext
39 lines
559 B
Plaintext
# Copyright (c) 2020 Teslabs Engineering S.L.
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
if SHIELD_BUYDISPLAY_2_8_TFT_TOUCH_ARDUINO
|
|
|
|
if DISPLAY
|
|
|
|
if INPUT
|
|
|
|
# NOTE: Enable if IRQ line is available (requires to solder jumper)
|
|
config INPUT_FT5336_INTERRUPT
|
|
default n
|
|
|
|
endif # INPUT
|
|
|
|
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 INPUT
|
|
default y
|
|
|
|
endif # LVGL
|
|
|
|
endif # DISPLAY
|
|
|
|
endif # SHIELD_BUYDISPLAY_2_8_TFT_TOUCH_ARDUINO
|