Update ini files and formatting

This commit is contained in:
fvanroie 2022-01-28 17:58:44 +01:00
parent 6943f6ed5c
commit ef3c93c347
5 changed files with 4 additions and 15 deletions

View File

@ -82,27 +82,23 @@ typedef int16_t lv_coord_t;
/* Size of the memory used by `lv_mem_alloc` in bytes (>= 2kB)*/
#ifndef LV_MEM_SIZE
#if defined(ARDUINO_ARCH_ESP8266)
# define LV_MEM_SIZE (10 * 1024U) // Minimum 10 Kb
# define LV_MEM_SIZE (12 * 1024U) // Minimum 12 Kb
#elif defined(ARDUINO_ARCH_ESP32)
# define LV_MEM_SIZE (48 * 1024U) // 48Kb is much better
#else
# define LV_MEM_SIZE (64 * 1024U) // native app
# define LV_MEM_SIZE (256 * 1024U) // native app
#endif
#endif // LV_MEM_SIZE
#ifndef LV_VDB_SIZE
#if defined(ARDUINO_ARCH_ESP8266)
# define LV_VDB_SIZE (10 * 1024U) // Minimum 10 Kb
# define LV_VDB_SIZE (8 * 1024U) // Minimum 8 Kb
#elif defined(ARDUINO_ARCH_ESP32)
# define LV_VDB_SIZE (32 * 1024U) // 32kB draw buffer
#else
# define LV_VDB_SIZE (64 * 1024U) // native app
# define LV_VDB_SIZE (128 * 1024U) // native app
#endif
#endif // LV_VDB_SIZE

View File

@ -14,8 +14,6 @@ build_flags =
; SDL drivers options
;-D LV_LVGL_H_INCLUDE_SIMPLE
;-D LV_DRV_NO_CONF
-D LV_MEM_SIZE=262144U ; 256kB lvgl memory
-D LV_VDB_SIZE=131072U ; 128kB draw buffer
-D USE_MONITOR
-D MONITOR_ZOOM=1 ; can be fractional like 1.5 or 2
-D USE_MOUSE

View File

@ -21,7 +21,6 @@ build_flags=
;-D PIO_FRAMEWORK_ARDUINO_LWIP2_HIGHER_BANDWIDTH
-D PIO_FRAMEWORK_ARDUINO_LWIP2_LOW_MEMORY
; -- lvgl build options -----------------------------
-D LV_MEM_SIZE=12288U ; 12kB lvgl memory
-D LV_ATTRIBUTE_FAST_MEM=
-D LV_ATTRIBUTE_TASK_HANDLER=
; -- ArduinoJson build options ----------------------------

View File

@ -13,8 +13,6 @@ build_flags =
; SDL drivers options
;-D LV_LVGL_H_INCLUDE_SIMPLE
;-D LV_DRV_NO_CONF
-D LV_MEM_SIZE=262144U ; 256kB lvgl memory
-D LV_VDB_SIZE=131072U ; 128kB draw buffer
-D USE_MONITOR
-D MONITOR_ZOOM=1 ; can be fractional like 1.5 or 2
-D USE_MOUSE

View File

@ -13,8 +13,6 @@ build_flags =
; SDL drivers options
;-D LV_LVGL_H_INCLUDE_SIMPLE
;-D LV_DRV_NO_CONF
-D LV_MEM_SIZE=262144U ; 256kB lvgl memory
-D LV_VDB_SIZE=131072U ; 128kB draw buffer
-D USE_MONITOR
-D MONITOR_ZOOM=1 ; can be fractional like 1.5 or 2
-D USE_MOUSE