Code generation, lv_mem_alloc instead of lv_malloc not compatible with lvgl v8.3.0

What do you want to achieve?

Code generated by SLS 1.1.0 use lv_mem_free or lv_mem_alloc in the code, but lvgl librairy use lv_malloc or lv_free instead, so there is build error.

What have you tried so far?

Screenshot or video

Others

  • SquareLine Studio version:
    1.1.0 , lvgl v8.3.0-192-gd89e73263
  • Operating system:
    Windows 10
  • Target hardware:
    esp32s3 lilygo dev board

SLS uses LVGL v8.2 but it seems you are using LVGL master where we alraedy added some breaking changes.

You should be able to update LVGL to v8.3.1 without any issues though.

You are right @kisvegabor , it is better wih this version, animation, memory and SWAP_16 issue i met are solved. Thank you !