Description
What MCU/Processor/Board and compiler are you using?
ESP32-S3
What LVGL version are you using?
v8.3.10
What do you want to achieve?
When I scrolled through the roller, I received an error Log ( assert failed: block_locate_free tlsf.c:566 (block_size(block) >= size) ). And I learned from various sources that this is caused by the LV_MEM_SIZE being too small. So I tried increasing CONFIG_LV_MEM_BUF_MAX_NUM and the problem was resolved.
But I want to know the following three points:
- How large LV_MEM_SIZE needs to be?
- How large CONFIG_LV_MEM_BUF_MAX_NUM needs to be after selecting CONFIG_LV_MEM_CUSTOM?
- How to calculate these two parameters?
What have you tried so far?
Increase CONFIG_LV_MEM_BUF_MAX_NUM to 64