diff --git a/tasmota/include/tasmota_configurations_ESP32.h b/tasmota/include/tasmota_configurations_ESP32.h index bd30cebc8..8fcc8ba0f 100644 --- a/tasmota/include/tasmota_configurations_ESP32.h +++ b/tasmota/include/tasmota_configurations_ESP32.h @@ -313,13 +313,9 @@ #define USE_I2S #define USE_SPI #define USE_LVGL -#define USE_LVGL_HASPMOTA -#define USE_LVGL_FREETYPE #undef SET_ESP32_STACK_SIZE #define SET_ESP32_STACK_SIZE (24 * 1024) -#define USE_LVGL_PNG_DECODER #define USE_DISPLAY -#define SHOW_SPLASH #define USE_MPU_ACCEL #define USE_RTC_CHIPS // Enable RTC chip support and NTP server - Select only one #define USE_BM8563 diff --git a/tasmota/my_user_config.h b/tasmota/my_user_config.h index b802de776..564384320 100644 --- a/tasmota/my_user_config.h +++ b/tasmota/my_user_config.h @@ -1201,16 +1201,11 @@ https://rya.nc/tasmota-fingerprint.html" // -- LVGL Graphics Library --------------------------------- //#define USE_LVGL // LVGL Engine, requires Berry (+382KB) #define USE_LVGL_PSRAM // Allocate LVGL memory in PSRAM if PSRAM is connected - this might be slightly slower but leaves main memory intact - // #define USE_LVGL_HASPMOTA // Enable OpenHASP compatiblity and Robotocondensed fonts (+90KB flash) + #define USE_LVGL_HASPMOTA // Enable OpenHASP compatiblity and Robotocondensed fonts (+90KB flash) #define USE_LVGL_MAX_SLEEP 10 // max sleep in ms when LVGL is enabled, more than 10ms will make display less responsive #define USE_LVGL_PNG_DECODER // include a PNG image decoder from file system (+16KB) - //#define USE_LVGL_TOUCHSCREEN // Use virtual touch screen with Berry driver - //#define USE_LVGL_FREETYPE // Use the FreeType renderer to display fonts using native TTF files in file system (+77KB flash) - #define LV_USE_FT_CACHE_MANAGER 1 // define whether glyphs are cached by FreeType library + #define USE_LVGL_FREETYPE // Use the FreeType renderer to display fonts using native TTF files in file system (+77KB flash) #define USE_LVGL_FREETYPE_MAX_FACES 64 // max number of FreeType faces in cache - #define USE_LVGL_FREETYPE_MAX_SIZES 4 // max number of sizes in cache - #define USE_LVGL_FREETYPE_MAX_BYTES 16*1024 // max bytes in cache - #define USE_LVGL_FREETYPE_MAX_BYTES_PSRAM 64*1024 // max bytes in cache when using PSRAM #define USE_LVGL_BG_DEFAULT 0x000000 // Default color for the uninitialized background screen (black) // Disabling select widgets that will be rarely used in Tasmota (-13KB) // Main widgets as defined in LVGL8 diff --git a/tasmota/tasmota_xdrv_driver/xdrv_52_3_berry_display.ino b/tasmota/tasmota_xdrv_driver/xdrv_52_3_berry_display.ino index 9ee9519c3..263893afd 100644 --- a/tasmota/tasmota_xdrv_driver/xdrv_52_3_berry_display.ino +++ b/tasmota/tasmota_xdrv_driver/xdrv_52_3_berry_display.ino @@ -74,7 +74,7 @@ extern "C" { } void be_ntv_display_touch_update(int32_t touches, int32_t raw_x, int32_t raw_y, int32_t gesture) { - #if defined(USE_LVGL_TOUCHSCREEN) || defined(USE_FT5206) || defined(USE_XPT2046) || defined(USE_GT911) || defined(USE_LILYGO47) || defined(USE_TOUCH_BUTTONS) + #if defined(USE_UNIVERSAL_TOUCH) || defined(USE_FT5206) || defined(USE_XPT2046) || defined(USE_GT911) || defined(USE_LILYGO47) || defined(USE_TOUCH_BUTTONS) Touch_SetStatus(touches, raw_x, raw_y, gesture); #endif } diff --git a/tasmota/tasmota_xdrv_driver/xdrv_55_touch.ino b/tasmota/tasmota_xdrv_driver/xdrv_55_touch.ino index be1057a67..d0e1f5885 100644 --- a/tasmota/tasmota_xdrv_driver/xdrv_55_touch.ino +++ b/tasmota/tasmota_xdrv_driver/xdrv_55_touch.ino @@ -36,7 +36,7 @@ \*******************************************************************************************/ -#if defined(USE_LVGL_TOUCHSCREEN) || defined(USE_FT5206) || defined(USE_XPT2046) || defined(USE_GT911) || defined(USE_LILYGO47) || defined(USE_UNIVERSAL_TOUCH) || defined(USE_TOUCH_BUTTONS) || defined(SIMPLE_RES_TOUCH) +#if defined(USE_FT5206) || defined(USE_XPT2046) || defined(USE_GT911) || defined(USE_LILYGO47) || defined(USE_UNIVERSAL_TOUCH) || defined(USE_TOUCH_BUTTONS) || defined(SIMPLE_RES_TOUCH) #include