mirror of
https://github.com/HASwitchPlate/openHASP.git
synced 2025-04-19 12:57:19 +00:00
LV_MEM_SIZE adjustment for WirelessTag
This commit is contained in:
parent
4a07ecdc4a
commit
32882ed33b
@ -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)
|
||||
|
@ -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 -------------------------------
|
||||
|
Loading…
x
Reference in New Issue
Block a user