From 436172e5827908037df653b6a1668bc2f7ca94a3 Mon Sep 17 00:00:00 2001 From: Ramesh <38435057+rmshub@users.noreply.github.com> Date: Fri, 29 Mar 2024 12:49:19 +0530 Subject: [PATCH] fix(kconfig): update as per lv_conf_template.h (#5980) --- Kconfig | 37 ++++++++++++++++++++++++++++--------- 1 file changed, 28 insertions(+), 9 deletions(-) diff --git a/Kconfig b/Kconfig index 236284f3b..98742c061 100644 --- a/Kconfig +++ b/Kconfig @@ -211,7 +211,7 @@ menu "LVGL configuration" config LV_USE_NATIVE_HELIUM_ASM bool "Enable native helium assembly" - default y + default n depends on LV_USE_DRAW_SW help Disabling this allows arm2d to work on its own (for testing only) @@ -927,9 +927,6 @@ menu "LVGL configuration" config LV_USE_MSGBOX bool "Msgbox" default y if !LV_CONF_MINIMAL - config LV_USE_OBSERVER - bool "Observer" - default n config LV_USE_ROLLER bool "Roller. Requires: lv_label" imply LV_USE_LABEL @@ -1254,10 +1251,6 @@ menu "LVGL configuration" bool "Center" endchoice - config LV_USE_MONKEY - bool "Enable Monkey test" - default n - config LV_USE_PROFILER bool "Runtime performance profiler" config LV_USE_PROFILER_BUILTIN @@ -1273,6 +1266,10 @@ menu "LVGL configuration" depends on LV_USE_PROFILER default "lvgl/src/misc/lv_profiler_builtin.h" + config LV_USE_MONKEY + bool "Enable Monkey test" + default n + config LV_USE_GRIDNAV bool "Enable grid navigation" default n @@ -1282,9 +1279,13 @@ menu "LVGL configuration" default n config LV_USE_IMGFONT - bool "draw image in label or span obj" + bool "Support using images as font in label or span widgets" default n + config LV_USE_OBSERVER + bool "Observer" + default y + config LV_USE_IME_PINYIN bool "Enable Pinyin input method" default n @@ -1384,6 +1385,24 @@ menu "LVGL configuration" depends on LV_USE_SDL default y + choice + prompt "SDL mousewheel mode" + depends on LV_USE_SDL + default LV_SDL_MOUSEWHEEL_MODE_ENCODER + + config LV_SDL_MOUSEWHEEL_MODE_ENCODER + bool "The mousewheel emulates an encoder input device" + + config LV_SDL_MOUSEWHEEL_MODE_CROWN + bool "The mousewheel emulates a smart watch crown" + endchoice + + config LV_SDL_MOUSEWHEEL_MODE + int + depends on LV_USE_SDL + default 0 if LV_SDL_MOUSEWHEEL_MODE_ENCODER + default 1 if LV_SDL_MOUSEWHEEL_MODE_CROWN + config LV_USE_X11 bool "Use X11 window manager to open window on Linux PC and handle mouse and keyboard" default n