Kconfig.memory 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. # SPDX-License-Identifier: Apache-2.0
  2. menu "Memory manager settings"
  3. choice LV_Z_MEMORY_POOL
  4. prompt "Memory pool"
  5. default LV_Z_MEM_POOL_SYS_HEAP
  6. optional
  7. help
  8. Memory pool to use for lvgl allocated objects
  9. config LV_Z_MEM_POOL_HEAP_LIB_C
  10. bool "C library Heap"
  11. depends on !MINIMAL_LIBC || (MINIMAL_LIBC_MALLOC_ARENA_SIZE != 0)
  12. help
  13. Use C library malloc and free to allocate objects on the C library heap
  14. config LV_Z_MEM_POOL_SYS_HEAP
  15. bool "User space lvgl pool"
  16. help
  17. Use a dedicated memory pool from a private sys heap.
  18. endchoice
  19. config LV_Z_MEM_POOL_SIZE
  20. int "Memory pool size"
  21. default 2048
  22. depends on LV_Z_MEM_POOL_SYS_HEAP
  23. help
  24. Size of the memory pool in bytes
  25. config LV_VDB_SIZE
  26. int "Rendering buffer size in pixels"
  27. default 1
  28. help
  29. Size of the buffer used for rendering screen content in pixels.
  30. config LV_VDB_NUM
  31. int "Number of VDB for rendering"
  32. range 1 4
  33. default 2
  34. help
  35. Number of buffers to render and flush data in parallel.
  36. To increase the upper limit, modify LV_DISP_BUF_MAX_NUM in lv_hal_disp.h.
  37. endmenu