mirror of
https://github.com/HASwitchPlate/openHASP.git
synced 2025-07-26 20:56:37 +00:00
Update LV_MEM_SIZE to 32kB on ESP32-S2 #250
This commit is contained in:
parent
ed40f28b7a
commit
126fc09733
@ -89,9 +89,9 @@ typedef int16_t lv_coord_t;
|
|||||||
#if defined(ARDUINO_ARCH_ESP8266)
|
#if defined(ARDUINO_ARCH_ESP8266)
|
||||||
# define LV_MEM_SIZE (12 * 1024U) // Minimum 12 Kb
|
# define LV_MEM_SIZE (12 * 1024U) // Minimum 12 Kb
|
||||||
#elif defined(ESP32S2)
|
#elif defined(ESP32S2)
|
||||||
# define LV_MEM_SIZE (20 * 1024U) // 20Kb is much better
|
# define LV_MEM_SIZE (32 * 1024U) // 32Kb on ESP32-S2
|
||||||
#elif defined(ARDUINO_ARCH_ESP32)
|
#elif defined(ARDUINO_ARCH_ESP32)
|
||||||
# define LV_MEM_SIZE (48 * 1024U) // 48Kb is much better
|
# define LV_MEM_SIZE (48 * 1024U) // 48Kb on ESP32
|
||||||
#else
|
#else
|
||||||
# define LV_MEM_SIZE (256 * 1024U) // native app
|
# define LV_MEM_SIZE (256 * 1024U) // native app
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user