LVGL Memory Allocation Issues on ESP32 with esp_lcd
anyone worked with LVGL in ESP IDF?
esp_lcd component, which works, but the MCU raises errors at the lv_display_t* myDisplay = lv_display_create(320,240); heap_caps_get_free_size to see how much is used. You can also consider enabling LV_USE_ASSERT_MEM in your lv_conf so you can discover what is actually happening with the memorylv_init() in the beginningesp_lcd lv_display_t* myDisplay = lv_display_create(320,240);40811850: 0x0000000a 0x000000f0 0x4080e084 0x4200aff6 0x00000008 0x00000000 0x4080e084 0x4200bb86
0x4200aff6: lv_malloc_core at C:/Users/Theo/Documents/esp_projects/lvgl_work/lvgl_esp_lcd/managed_components/lvgl__lvgl/src/stdlib/builtin/lv_mem_core_builtin.c:144
0x4200bb86: lv_malloc at C:/Users/Theo/Documents/esp_projects/lvgl_work/lvgl_esp_lcd/managed_components/lvgl__lvgl/src/stdlib/lv_mem.c:72
40811870: 0x00000017 0xffffffff 0xffffffff 0x4200a728 0x00000000 0x000000f0 0x42039000 0x420087a4
0x4200a728: lv_ll_ins_head at C:/Users/Theo/Documents/esp_projects/lvgl_work/lvgl_esp_lcd/managed_components/lvgl__lvgl/src/misc/lv_ll.c:61
0x420087a4: lv_display_create at C:/Users/Theo/Documents/esp_projects/lvgl_work/lvgl_esp_lcd/managed_components/lvgl__lvgl/src/display/lv_display.c:64 heap_caps_get_free_sizeLV_USE_ASSERT_MEMlv_init()