LV_MEM_SIZE adjustment for WirelessTag

This commit is contained in:
fvanroie 2022-04-24 21:47:38 +02:00
parent 4a07ecdc4a
commit 32882ed33b
2 changed files with 3 additions and 0 deletions

View File

@ -88,6 +88,8 @@ typedef int16_t lv_coord_t;
#ifndef LV_MEM_SIZE
#if defined(ARDUINO_ARCH_ESP8266)
# define LV_MEM_SIZE (12 * 1024U) // Minimum 12 Kb
#elif defined(ESP32S2) && defined(BOARD_HAS_PSRAM)
# define LV_MEM_SIZE (48 * 1024U) // 48Kb on ESP32-S2 with PSram
#elif defined(ESP32S2)
# define LV_MEM_SIZE (32 * 1024U) // 32Kb on ESP32-S2
#elif defined(ARDUINO_ARCH_ESP32) && defined(BOARD_HAS_PSRAM)

View File

@ -33,6 +33,7 @@ build_flags =
-D TOUCH_RST=-1 ; not used, connected to 3.3V
-D I2C_TOUCH_FREQUENCY=400000
-D I2C_TOUCH_ADDRESS=0x38
-D LV_MEM_SIZE=60416U
;endregion
;region -- Library options -------------------------------