diff mbox series

[meta-oe,2/5] lvgl: Update defconfig

Message ID 20261008100626.2259941-3-t.schmelzer@phytec.de
State New
Headers show
Series lvgl: update 9.5.0 -> 9.6.0 | expand

Commit Message

Thorsten Schmelzer Oct. 8, 2026, 10:06 a.m. UTC
Update the defconfig to use Linux default settings. Settings are taken
from the linux.defconfig from the source repository. This includes the
following changes:
- use libc based malloc, string, sprintf. Using libc based memory
  allocation eliminates the risk that the lvgl application runs out of
  memory because of fixed internal memory size.
- use OS based pthread implementation
- set refresh period to 16 ms (60 FPS max)
- increase LV_DRAW_LAYER_SIMPLE_BUF_SIZE and
  CONFIG_LV_DRAW_THREAD_STACK_SIZE

Signed-off-by: Thorsten Schmelzer <t.schmelzer@phytec.de>
---
 meta-oe/recipes-graphics/lvgl/files/defconfig | 7 +++++++
 1 file changed, 7 insertions(+)
diff mbox series

Patch

diff --git a/meta-oe/recipes-graphics/lvgl/files/defconfig b/meta-oe/recipes-graphics/lvgl/files/defconfig
index 088b2369e957..3d0260f1f451 100644
--- a/meta-oe/recipes-graphics/lvgl/files/defconfig
+++ b/meta-oe/recipes-graphics/lvgl/files/defconfig
@@ -1,3 +1,10 @@ 
+CONFIG_LV_USE_CLIB_MALLOC=y
+CONFIG_LV_USE_CLIB_STRING=y
+CONFIG_LV_USE_CLIB_SPRINTF=y
+CONFIG_LV_OS_PTHREAD=y
 CONFIG_LV_COLOR_DEPTH_32=y
+CONFIG_LV_DEF_REFR_PERIOD=16
+CONFIG_LV_DRAW_LAYER_SIMPLE_BUF_SIZE=262144
+CONFIG_LV_DRAW_THREAD_STACK_SIZE=65536
 # CONFIG_LV_BUILD_EXAMPLES is not set
 # CONFIG_LV_BUILD_DEMOS is not set