zephyr/boards/shields/waveshare_epaper/Kconfig.defconfig

60 lines
1.4 KiB
Plaintext

#
# Copyright (c) 2019, PHYTEC Messtechnik GmbH
# Copyright (c) 2019 Linaro Limited
#
# SPDX-License-Identifier: Apache-2.0
#
if SHIELD_WAVESHARE_EPAPER_GDEH029A1 || SHIELD_WAVESHARE_EPAPER_GDEH0213B1 || SHIELD_WAVESHARE_EPAPER_GDEH0213B72 || SHIELD_WAVESHARE_EPAPER_GDEW075T7
if DISPLAY
config SPI
default y
config SSD16XX
default y if SHIELD_WAVESHARE_EPAPER_GDEH029A1
default y if SHIELD_WAVESHARE_EPAPER_GDEH0213B1
default y if SHIELD_WAVESHARE_EPAPER_GDEH0213B72
config GD7965
default y if SHIELD_WAVESHARE_EPAPER_GDEW075T7
if LVGL
config LVGL_DISPLAY_DEV_NAME
default "GD7965" if SHIELD_WAVESHARE_EPAPER_GDEW075T7
default "SSD16XX"
config LVGL_HOR_RES
default 296 if SHIELD_WAVESHARE_EPAPER_GDEH029A1
default 250 if SHIELD_WAVESHARE_EPAPER_GDEH0213B1
default 250 if SHIELD_WAVESHARE_EPAPER_GDEH0213B72
default 800 if SHIELD_WAVESHARE_EPAPER_GDEW075T7
config LVGL_VER_RES
default 128 if SHIELD_WAVESHARE_EPAPER_GDEH029A1
default 120 if SHIELD_WAVESHARE_EPAPER_GDEH0213B1
default 120 if SHIELD_WAVESHARE_EPAPER_GDEH0213B72
default 480 if SHIELD_WAVESHARE_EPAPER_GDEW075T7
config LVGL_VDB_SIZE
default 16 if SHIELD_WAVESHARE_EPAPER_GDEW075T7
default 16
config LVGL_DPI
default 130
choice LVGL_COLOR_DEPTH
default LVGL_COLOR_DEPTH_1
endchoice
config LVGL_BITS_PER_PIXEL
default 1
endif # LVGL
endif # DISPLAY
endif # SHIELD_WAVESHARE_EPAPER_GDEH02