1#
2# Copyright (c) 2019, PHYTEC Messtechnik GmbH
3# Copyright (c) 2019 Linaro Limited
4#
5# SPDX-License-Identifier: Apache-2.0
6#
7
8if SHIELD_WAVESHARE_EPAPER_GDEH029A1 || SHIELD_WAVESHARE_EPAPER_GDEH0213B1 || SHIELD_WAVESHARE_EPAPER_GDEH0213B72 || SHIELD_WAVESHARE_EPAPER_GDEW075T7 || SHIELD_WAVESHARE_EPAPER_GDEH0154A07 || SHIELD_WAVESHARE_EPAPER_GDEW042T2 || SHIELD_WAVESHARE_EPAPER_GDEW042T2_P || SHIELD_WAVESHARE_EPAPER_GDEY0213B74
9
10if DISPLAY
11
12if LVGL
13
14config LV_Z_VDB_SIZE
15	default 16 if SHIELD_WAVESHARE_EPAPER_GDEW075T7
16	default 16
17
18config LV_DPI_DEF
19	default 188 if SHIELD_WAVESHARE_EPAPER_GDEH0154A07
20	default 120 if SHIELD_WAVESHARE_EPAPER_GDEW042T2
21	default 130
22
23choice LV_COLOR_DEPTH
24	default LV_COLOR_DEPTH_1
25endchoice
26
27config LV_Z_BITS_PER_PIXEL
28	default 1
29
30endif # LVGL
31
32endif # DISPLAY
33
34endif # SHIELD_WAVESHARE_EPAPER_GDEH02
35