refact(monitor): refact system monitor component (#4195)

Signed-off-by: FASTSHIFT <vifextech@foxmail.com>
This commit is contained in:
_VIFEXTech
2023-05-02 16:40:13 +08:00
committed by GitHub
parent 42f70fecf0
commit 4658c27f37
10 changed files with 169 additions and 173 deletions

13
Kconfig
View File

@@ -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