Skip to content

Commit

Permalink
Allow LV_MEM_CUSTOM override also in v8
Browse files Browse the repository at this point in the history
  • Loading branch information
hb020 committed Apr 11, 2024
1 parent 66fe185 commit 99d9a06
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/lv_conf_v8.h
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,10 @@ typedef int16_t lv_coord_t;
/* LittelvGL's internal memory manager's settings.
* The graphical objects and other related data are stored here. */

#ifndef LV_MEM_CUSTOM
/* 1: use custom malloc/free, 0: use the built-in `lv_mem_alloc` and `lv_mem_free` */
#define LV_MEM_CUSTOM 0
#endif
#if LV_MEM_CUSTOM == 0
/* Size of the memory used by `lv_mem_alloc` in bytes (>= 2kB)*/
//# define LV_MEM_SIZE (32U * 1024U)
Expand Down

0 comments on commit 99d9a06

Please sign in to comment.