mirror of
https://gitee.com/Vancouver2017/luban-lite.git
synced 2025-12-17 17:48:55 +00:00
v1.2.1
This commit is contained in:
@@ -73,6 +73,23 @@
|
||||
#define LV_DISP_DEF_REFR_PERIOD 10
|
||||
#endif
|
||||
|
||||
#if defined(LV_MEM_CUSTOM)
|
||||
// #undef LV_MEM_CUSTOM
|
||||
// #define LV_MEM_CUSTOM 0
|
||||
#endif
|
||||
#if LV_MEM_CUSTOM == 0
|
||||
/*Size of the memory available for `lv_mem_alloc()` in bytes (>= 2kB)*/
|
||||
#define LV_MEM_SIZE (1024U * 1024U) /*[bytes]*/
|
||||
|
||||
/*Set an address for the memory pool instead of allocating it as a normal array. Can be in external SRAM too.*/
|
||||
#define LV_MEM_ADR 0 /*0: unused*/
|
||||
/*Instead of an address give a memory allocator that will be called to get a memory pool for LVGL. E.g. my_malloc*/
|
||||
#if LV_MEM_ADR == 0
|
||||
#undef LV_MEM_POOL_INCLUDE
|
||||
#undef LV_MEM_POOL_ALLOC
|
||||
#endif
|
||||
#endif /*LV_MEM_CUSTOM*/
|
||||
|
||||
#define LV_USE_FS_POSIX 1
|
||||
#if LV_USE_FS_POSIX
|
||||
#define LV_FS_POSIX_LETTER 'L' /*Set an upper cased letter on which the drive will accessible (e.g. 'A')*/
|
||||
|
||||
Reference in New Issue
Block a user