studio
studio copied to clipboard
[LVGL]Disabling LV_USE_PERF_MONITOR and LV_USE_MEM_MONITOR together results in empty display
Describe the bug When I use EEZ-studio to create a project and implant it to my lvgl project,its all good. However, when I disabled LV_USE_PERF_MONITOR and LV_USE_MEM_MONITOR together,the screen failed to display anything I created.
To Reproduce
-
EEZ studio,create a project with 'LVGL with eez flow' 2.implant the ui files in lvgl project 3.compile and run,all fine. 4.modify the relevant content in lv_conf.h as below: /1: Show CPU usage and FPS count/ #define LV_USE_PERF_MONITOR 0 #if LV_USE_PERF_MONITOR #define LV_USE_PERF_MONITOR_POS LV_ALIGN_BOTTOM_RIGHT #endif
/*1: Show the used memory and the memory fragmentation * Requires LV_MEM_CUSTOM = 0*/ #define LV_USE_MEM_MONITOR 0 #if LV_USE_MEM_MONITOR #define LV_USE_MEM_MONITOR_POS LV_ALIGN_BOTTOM_LEFT #endif
5.compile and run,seeing nothing on screen. *p.s. if at least one of them enabled,no display problem.The problem I encountered only happens when I disabled them together.
Screenshots
If applicable, add screenshots to help explain your problem.
LV_USE_PERF_MONITOR and LV_USE_MEM_MONITOR not disabled:
LV_USE_PERF_MONITOR and LV_USE_MEM_MONITOR disabled:
Desktop (please complete the following information):
- OS: ubuntu
- Version: 16.04
** LVGL version (if used)**
- 8.2