Add LV_VDB_SIZE to ini files

This commit is contained in:
fvanroie 2021-11-21 08:21:23 +01:00
parent 44bce791ad
commit 5366ed3dda
6 changed files with 17 additions and 24 deletions

View File

@ -79,10 +79,11 @@ lib_deps =
;git+https://github.com/andrethomas/TasmotaSlave.git
;git+https://github.com/lvgl/lvgl.git
git+https://github.com/lvgl/lvgl.git#release/v7
;git+https://github.com/lvgl/lvgl.git#797212a3f346e9fdf71aef6f193889357eeae3f0
;lvgl/lvgl@^7.11.0 ; from PIO library
bodmer/TFT_eSPI@^2.3.73
;git+https://github.com/Bodmer/TFT_eSPI.git
git+https://github.com/lvgl/lv_lib_png.git#release/v7
;git+https://github.com/lvgl/lv_lib_bmp.git#release/v7
;git+https://github.com/lvgl/lv_lib_gif.git#release/v7
;git+https://github.com/lvgl/lv_lib_split_jpg.git
; ------ Unused / Test libraries
;https://github.com/netwizeBE/TFT_eSPI.git
;Syslog@^2.0.0 ; Obsoleted

View File

@ -15,6 +15,7 @@ build_flags =
;-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

@ -15,6 +15,7 @@ build_flags =
;-D CONFIG_NEWLIB_NANO_FORMAT
; -- lvgl build options -----------------------------
-D LV_MEM_SIZE=49152U ; 48 kB lvgl memory
-D LV_VDB_SIZE=32768U ; 32kB draw buffer
-D LV_ATTRIBUTE_FAST_MEM=IRAM_ATTR
-D LV_ATTRIBUTE_TASK_HANDLER=IRAM_ATTR
;-D LV_FS_PC_PATH="//littlefs" ; this needs to match the vfs mount pount
@ -53,15 +54,13 @@ lib_ignore =
lv_drv_fsmc_ili9341
lv_drivers
AXP192
LittleFS_esp32 ; for v2
;LittleFS_esp32 ; for v2
lib_deps =
;ESP Async WebServer
;LittleFS_esp32 ; for v1
git+https://github.com/lvgl/lv_lib_png.git#release/v7
;git+https://github.com/lvgl/lv_lib_bmp.git#release/v7
;git+https://github.com/lvgl/lv_lib_gif.git#release/v7
;git+https://github.com/lvgl/lv_lib_split_jpg.git
bodmer/TFT_eSPI@^2.3.81
;git+https://github.com/Bodmer/TFT_eSPI.git
;ESP Async WebServer
extra_scripts =
tools/littlefsbuilder.py

View File

@ -35,6 +35,7 @@ build_flags =
;-D CONFIG_NEWLIB_NANO_FORMAT
; -- lvgl build options -----------------------------
-D LV_MEM_SIZE=20480U ; 20kB lvgl memory
-D LV_VDB_SIZE=16384U ; 16kB draw buffer
-D LV_ATTRIBUTE_FAST_MEM=IRAM_ATTR
-D LV_ATTRIBUTE_TASK_HANDLER=IRAM_ATTR
;-D LV_FS_PC_PATH="//littlefs" ; this needs to match the vfs mount pount
@ -74,18 +75,15 @@ lib_ignore =
lv_drivers
AXP192
bodmer/TFT_eSPI
LittleFS_esp32
lib_deps =
ESP Async WebServer
git+https://github.com/lvgl/lv_lib_png.git#release/v7
;git+https://github.com/lvgl/lv_lib_bmp.git#release/v7
;git+https://github.com/lvgl/lv_lib_gif.git#release/v7
;git+https://github.com/lvgl/lv_lib_split_jpg.git
bodmer/TFT_eSPI@^2.3.81
;git+https://github.com/Bodmer/TFT_eSPI.git
;ESP Async WebServer
ps_ram =
-DBOARD_HAS_PSRAM
; -mfix-esp32-psram-cache-issue ; uses 24kB
-mfix-esp32-psram-cache-issue ; uses 24kB
extra_scripts =
tools/littlefsbuilder.py

View File

@ -14,6 +14,7 @@ build_flags =
;-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
@ -64,10 +65,6 @@ lib_deps =
https://github.com/eclipse/paho.mqtt.c.git
bblanchon/ArduinoJson@^6.17.2 ; Json(l) parser
https://github.com/fvanroie/lv_drivers
git+https://github.com/lvgl/lv_lib_png.git#release/v7
; git+https://github.com/lvgl/lv_lib_bmp.git#release/v7
; git+https://github.com/lvgl/gif.git#release/v7
; git+https://github.com/fvanroie/lv_lib_split_jpg.git
lib_ignore =
paho

View File

@ -14,6 +14,7 @@ build_flags =
;-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
@ -95,10 +96,6 @@ lib_deps =
https://github.com/eclipse/paho.mqtt.c.git
bblanchon/ArduinoJson@^6.17.2 ; Json(l) parser
https://github.com/fvanroie/lv_drivers
git+https://github.com/lvgl/lv_lib_png.git#release/v7
;git+https://github.com/lvgl/lv_lib_bmp.git#release/v7
;git+https://github.com/lvgl/gif.git#release/v7
;git+https://github.com/fvanroie/lv_lib_split_jpg.git
lib_ignore =
paho