feat: add LV_USE_MEM_PERF/MONITOR_POS

fixes #2735
This commit is contained in:
Gabor Kiss-Vamosi
2021-11-05 13:27:40 +01:00
parent 4d7d30677a
commit acd0f4fbc7
3 changed files with 26 additions and 2 deletions

View File

@@ -217,10 +217,16 @@ e.g. "stm32f769xx.h" or "stm32f429xx.h"*/
/*1: Show CPU usage and FPS count in the right bottom corner*/
#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 in the left bottom corner
* Requires LV_MEM_CUSTOM = 0*/
#define LV_USE_MEM_MONITOR 0
#if LV_USE_PERF_MONITOR
#define LV_USE_MEM_MONITOR_POS LV_ALIGN_BOTTOM_LEFT
#endif
/*1: Draw random colored rectangles over the redrawn areas*/
#define LV_USE_REFR_DEBUG 0