diff --git a/Kconfig b/Kconfig index 1146798adb..bbf265664d 100644 --- a/Kconfig +++ b/Kconfig @@ -63,6 +63,10 @@ menu "LVGL configuration" bool "Use builtin method to deal with obj ID" default n + config LV_USE_OBJ_PROPERTY + bool "Use obj property set/get API" + default n + endmenu menu "Memory settings" @@ -76,6 +80,12 @@ menu "LVGL configuration" config LV_USE_CLIB_MALLOC bool "Standard C functions malloc/realloc/free" + config LV_USE_MICROPYTHON_MALLOC + bool "MicroPython functions malloc/realloc/free" + + config LV_USE_RTTHREAD_MALLOC + bool "RTThread functions malloc/realloc/free" + config LV_USE_CUSTOM_MALLOC bool "Implement the functions externally" @@ -261,7 +271,7 @@ menu "LVGL configuration" default "" depends on LV_DRAW_SW_ASM_CUSTOM - config LV_IMG_CACHE_DEF_SIZE + config LV_CACHE_DEF_SIZE int "Default image cache size. 0 to disable caching." default 0 depends on LV_USE_DRAW_SW @@ -487,6 +497,10 @@ menu "LVGL configuration" endmenu menu "Others" + config LV_USE_FLOAT + bool "Use float as lv_value_precise_t." + default n + config LV_USE_PERF_MONITOR bool "Show CPU usage and FPS count." depends on LV_USE_SYSMON @@ -554,6 +568,12 @@ menu "LVGL configuration" config LV_USE_REFR_DEBUG bool "Draw random colored rectangles over the redrawn areas." + config LV_USE_LAYER_DEBUG + bool "Draw a red overlay for ARGB layers and a green overlay for RGB layers" + + config LV_USE_PARALLEL_DRAW_DEBUG + bool "Draw overlays with different colors for each draw_unit's tasks." + config LV_USE_BUILTIN_SNPRINTF bool "Use the built-in (v)snprintf functions" default y @@ -939,6 +959,9 @@ menu "LVGL configuration" config LV_USE_IMGBTN bool "Imgbtn." default y if !LV_CONF_MINIMAL + config LV_USE_OBSERVER + bool "Observer." + default n config LV_USE_KEYBOARD bool "Keyboard." default y if !LV_CONF_MINIMAL @@ -1067,6 +1090,13 @@ menu "LVGL configuration" default 0 depends on LV_USE_FS_FATFS + config LV_USE_FS_MEMFS + bool "File system on top of memory-mapped API" + config LV_FS_MEMFS_LETTER + int "Set an upper cased letter on which the drive will accessible (e.g. 'A' i.e. 65)" + default 0 + depends on LV_USE_FS_MEMFS + config LV_USE_LODEPNG bool "PNG decoder library" @@ -1111,6 +1141,14 @@ menu "LVGL configuration" int "The maximum number of FT_Size(0: use defaults)" default 4 endmenu + + config LV_USE_TINY_TTF + bool "Enable Tiny TTF decoder" + default n + config LV_TINY_TTF_FILE_SUPPORT + bool "Enable loading Tiny TTF data from files" + default n + depends on LV_USE_TINY_TTF endif config LV_USE_RLOTTIE @@ -1393,6 +1431,14 @@ menu "LVGL configuration" depends on LV_USE_DEMO_BENCHMARK default n + config LV_USE_DEMO_RENDER + bool "Render test for each primitives. Requires at least 480x272 display" + default n + + config LV_USE_DEMO_SCROLL + bool "Scroll settings test for LVGL" + default n + config LV_USE_DEMO_STRESS bool "Stress test for LVGL" default n diff --git a/src/lv_conf_kconfig.h b/src/lv_conf_kconfig.h index fa4627c952..bd3b1277bf 100644 --- a/src/lv_conf_kconfig.h +++ b/src/lv_conf_kconfig.h @@ -33,6 +33,8 @@ extern "C" { # define CONFIG_LV_USE_STDLIB_MALLOC LV_STDLIB_BUILTIN #elif defined(CONFIG_LV_USE_CLIB_MALLOC) # define CONFIG_LV_USE_STDLIB_MALLOC LV_STDLIB_CLIB +#elif defined(CONFIG_LV_USE_MICROPYTHON_MALLOC) +# define CONFIG_LV_USE_STDLIB_MALLOC LV_STDLIB_MICROPYTHON #elif defined(CONFIG_LV_USE_RTTHREAD_MALLOC) # define CONFIG_LV_USE_STDLIB_MALLOC LV_STDLIB_RTTHREAD #elif defined (CONFIG_LV_USE_CUSTOM_MALLOC) @@ -47,6 +49,8 @@ extern "C" { # define CONFIG_LV_USE_STDLIB_STRING LV_STDLIB_BUILTIN #elif defined(CONFIG_LV_USE_CLIB_STRING) # define CONFIG_LV_USE_STDLIB_STRING LV_STDLIB_CLIB +#elif defined(CONFIG_LV_USE_MICROPYTHON_STRING) +# define CONFIG_LV_USE_STDLIB_STRING LV_STDLIB_MICROPYTHON #elif defined(CONFIG_LV_USE_RTTHREAD_STRING) # define CONFIG_LV_USE_STDLIB_STRING LV_STDLIB_RTTHREAD #elif defined (CONFIG_LV_USE_CUSTOM_STRING) @@ -61,6 +65,8 @@ extern "C" { # define CONFIG_LV_USE_STDLIB_SPRINTF LV_STDLIB_BUILTIN #elif defined(CONFIG_LV_USE_CLIB_SPRINTF) # define CONFIG_LV_USE_STDLIB_SPRINTF LV_STDLIB_CLIB +#elif defined(CONFIG_LV_USE_MICROPYTHON_SPRINTF) +# define CONFIG_LV_USE_STDLIB_SPRINTF LV_STDLIB_MICROPYTHON #elif defined(CONFIG_LV_USE_RTTHREAD_SPRINTF) # define CONFIG_LV_USE_STDLIB_SPRINTF LV_STDLIB_RTTHREAD #elif defined (CONFIG_LV_USE_CUSTOM_SPRINTF)