Setup epdiy_epaper generic driver REF: https://github.com/martinberlin/lv_port_esp32-epaper/issues/2 Flushing too often, drawing only 40 px on top of display

This commit is contained in:
martinberlin 2021-05-28 20:53:08 +02:00
parent db51c38e63
commit a0113e0d5c
9 changed files with 144 additions and 4 deletions

View file

@ -1,7 +1,7 @@
# NOTES:
# - default <> if <> work only when no prompt is available for the user
menu "LVGL TFT Display controller"
menu "LVGL TFT/Epaper Display controller"
# Predefined display configurations for multiple
# evaluation/development boards.
@ -85,6 +85,11 @@ menu "LVGL TFT Display controller"
#
# If you add support for a new display controller to the repository
# you must add a config option for it on this helper symbols section.
config LV_EPAPER_EPDIY_DISPLAY_CONTROLLER
bool
help
EPDIY parallel epaper controller.
config LV_TFT_DISPLAY_CONTROLLER_ILI9341
bool
help
@ -173,6 +178,11 @@ menu "LVGL TFT Display controller"
# - Know what peripherals to initialize.
# - Know if the touch and display controllers share the same peripheral.
# - Etc.
config LV_EPAPER_DISPLAY_PROTOCOL_PARALLEL
bool
help
Epaper controller protocol Parallel based on EPDiy 8 data lines
config LV_TFT_DISPLAY_PROTOCOL_SPI
bool
help
@ -257,6 +267,11 @@ menu "LVGL TFT Display controller"
prompt "Select a display controller model." if LV_PREDEFINED_DISPLAY_NONE
help
Select the controller for your display.
config LV_EPAPER_DISPLAY_USER_CONTROLLER_EPDIY
bool "EPDIY_GENERIC"
select LV_EPAPER_EPDIY_DISPLAY_CONTROLLER
select LV_EPAPER_DISPLAY_PROTOCOL_PARALLEL
#select LV_TFT_DISPLAY_PROTOCOL_SPI
config LV_TFT_DISPLAY_USER_CONTROLLER_ILI9341
bool "ILI9341"