refact(monitor): refact system monitor component (#4195)
Signed-off-by: FASTSHIFT <vifextech@foxmail.com>
This commit is contained in:
13
Kconfig
13
Kconfig
@@ -371,7 +371,7 @@ menu "LVGL configuration"
|
||||
menu "Others"
|
||||
config LV_USE_PERF_MONITOR
|
||||
bool "Show CPU usage and FPS count."
|
||||
depends on LV_USE_MONITOR
|
||||
depends on LV_USE_SYSMON
|
||||
|
||||
choice
|
||||
prompt "Performance monitor position."
|
||||
@@ -398,10 +398,15 @@ menu "LVGL configuration"
|
||||
bool "Center"
|
||||
endchoice
|
||||
|
||||
config LV_USE_PERF_MONITOR_LOG_MODE
|
||||
bool "Prints performance data using log"
|
||||
depends on LV_USE_PERF_MONITOR
|
||||
default n
|
||||
|
||||
config LV_USE_MEM_MONITOR
|
||||
bool "Show the used memory and the memory fragmentation."
|
||||
depends on !LV_MEM_CUSTOM
|
||||
depends on LV_USE_MONITOR
|
||||
depends on LV_USE_SYSMON
|
||||
|
||||
choice
|
||||
prompt "Memory monitor position."
|
||||
@@ -996,8 +1001,8 @@ menu "LVGL configuration"
|
||||
bool "Enable API to take snapshot"
|
||||
default y if !LV_CONF_MINIMAL
|
||||
|
||||
config LV_USE_MONITOR
|
||||
bool "Enable Monitor component"
|
||||
config LV_USE_SYSMON
|
||||
bool "Enable system monitor component"
|
||||
default n
|
||||
|
||||
config LV_USE_MONKEY
|
||||
|
||||
Reference in New Issue
Block a user