Adjust LV_MEM_SIZE to 32Kb on ESP32S2

This commit is contained in:
fvanroie 2022-04-24 20:31:22 +02:00
parent 5cfc34b70a
commit 4a07ecdc4a

View File

@ -88,8 +88,6 @@ 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)