mirror of
https://github.com/lvgl/lvgl.git
synced 2025-01-28 07:03:00 +08:00
lv_conf_templ: minor updates
This commit is contained in:
parent
c3e248ec79
commit
2d5e41d566
@ -16,7 +16,7 @@
|
|||||||
* to store the graphical objects and other data */
|
* to store the graphical objects and other data */
|
||||||
#define LV_MEM_CUSTOM 0 /*1: use custom malloc/free, 0: use the built-in lv_mem_alloc/lv_mem_free*/
|
#define LV_MEM_CUSTOM 0 /*1: use custom malloc/free, 0: use the built-in lv_mem_alloc/lv_mem_free*/
|
||||||
#if LV_MEM_CUSTOM == 0
|
#if LV_MEM_CUSTOM == 0
|
||||||
#define LV_MEM_SIZE (32U * 1024U) /*Size memory used by mem_alloc (in bytes)*/
|
#define LV_MEM_SIZE (32U * 1024U) /*Size memory used by `lv_mem_alloc` in bytes (>= 2kB)*/
|
||||||
#define LV_MEM_ATTR /*Complier prefix for big array declaration*/
|
#define LV_MEM_ATTR /*Complier prefix for big array declaration*/
|
||||||
#define LV_MEM_AUTO_DEFRAG 1 /*Automatically defrag on free*/
|
#define LV_MEM_AUTO_DEFRAG 1 /*Automatically defrag on free*/
|
||||||
#else /*LV_MEM_CUSTOM*/
|
#else /*LV_MEM_CUSTOM*/
|
||||||
@ -27,7 +27,7 @@
|
|||||||
|
|
||||||
/*===================
|
/*===================
|
||||||
Graphical settings
|
Graphical settings
|
||||||
*=====================*/
|
*===================*/
|
||||||
|
|
||||||
/* Horizontal and vertical resolution of the library.*/
|
/* Horizontal and vertical resolution of the library.*/
|
||||||
#define LV_HOR_RES (320)
|
#define LV_HOR_RES (320)
|
||||||
@ -52,9 +52,6 @@
|
|||||||
/*Screen refresh settings*/
|
/*Screen refresh settings*/
|
||||||
#define LV_REFR_PERIOD 50 /*Screen refresh period in milliseconds*/
|
#define LV_REFR_PERIOD 50 /*Screen refresh period in milliseconds*/
|
||||||
#define LV_INV_FIFO_SIZE 32 /*The average count of objects on a screen */
|
#define LV_INV_FIFO_SIZE 32 /*The average count of objects on a screen */
|
||||||
#define LV_INV_FULL_ROW 0 /*1: Force invalid areas to be as wide as the screen*/
|
|
||||||
#define LV_INV_FULL_COL 0 /*1: Force invalid areas to be as tall as the screen*/
|
|
||||||
|
|
||||||
|
|
||||||
/*=================
|
/*=================
|
||||||
Misc. setting
|
Misc. setting
|
||||||
|
Loading…
x
Reference in New Issue
Block a user