mirror of
https://gitee.com/dlmu-cone/tronone-h7-scaffold
synced 2026-07-24 03:27:45 +08:00
feat: speed up PRTS LCD refresh
This commit is contained in:
@@ -69,7 +69,7 @@
|
||||
|
||||
#if LV_USE_STDLIB_MALLOC == LV_STDLIB_BUILTIN
|
||||
/** Size of memory available for `lv_malloc()` in bytes (>= 2kB) */
|
||||
#define LV_MEM_SIZE (32 * 1024U) /**< [bytes] */
|
||||
#define LV_MEM_SIZE (80 * 1024U) /**< [bytes] */
|
||||
|
||||
/** Size of the memory expand for `lv_malloc()` in bytes */
|
||||
#define LV_MEM_POOL_EXPAND_SIZE 0
|
||||
@@ -107,7 +107,7 @@
|
||||
* - LV_OS_MQX
|
||||
* - LV_OS_SDL2
|
||||
* - LV_OS_CUSTOM */
|
||||
#define LV_USE_OS LV_OS_NONE
|
||||
#define LV_USE_OS LV_OS_FREERTOS
|
||||
|
||||
#if LV_USE_OS == LV_OS_CUSTOM
|
||||
#define LV_OS_CUSTOM_INCLUDE <stdint.h>
|
||||
@@ -203,7 +203,7 @@
|
||||
/**
|
||||
* - 0: Use a simple renderer capable of drawing only simple rectangles with gradient, images, text, and straight lines only.
|
||||
* - 1: Use a complex renderer capable of drawing rounded corners, shadow, skew lines, and arcs too. */
|
||||
#define LV_DRAW_SW_COMPLEX 0
|
||||
#define LV_DRAW_SW_COMPLEX 1
|
||||
|
||||
#if LV_DRAW_SW_COMPLEX == 1
|
||||
/** Allow buffering some shadow calculation.
|
||||
@@ -691,10 +691,10 @@
|
||||
* #define LV_FONT_CUSTOM_DECLARE LV_FONT_DECLARE(my_font_1) LV_FONT_DECLARE(my_font_2)
|
||||
* @endcode
|
||||
*/
|
||||
#define LV_FONT_CUSTOM_DECLARE
|
||||
#define LV_FONT_CUSTOM_DECLARE LV_FONT_DECLARE(prts_font_14)
|
||||
|
||||
/** Always set a default font */
|
||||
#define LV_FONT_DEFAULT &lv_font_montserrat_14
|
||||
#define LV_FONT_DEFAULT &prts_font_14
|
||||
|
||||
/** Enable handling large font and/or fonts with a lot of characters.
|
||||
* The limit depends on the font size, font face and bpp.
|
||||
@@ -1096,7 +1096,7 @@
|
||||
#define LV_USE_SNAPSHOT 0
|
||||
|
||||
/** 1: Enable system monitor component */
|
||||
#define LV_USE_SYSMON 0
|
||||
#define LV_USE_SYSMON 1
|
||||
#if LV_USE_SYSMON
|
||||
/** Get the idle percentage. E.g. uint32_t my_get_idle(void); */
|
||||
#define LV_SYSMON_GET_IDLE lv_os_get_idle_percent
|
||||
|
||||
Reference in New Issue
Block a user