Skip to content

Conversation

@regimantas
Copy link

LVGL ≥9.40 changed the second parameter of style get/set helpers from int to lv_part_t. The previous code generator emitted calls like lv_obj_get_style_opa(obj, 0) which now fail with: invalid conversion from 'int' to 'lv_part_t'. Added a post‑processing step in build.ts that rewrites any generated lv_obj_get_style_* and lv_obj_set_style_* calls using part 0 to LV_PART_MAIN. Backwards compatible with LVGL 8 (LV_PART_MAIN == 0).

i tested by building EEZ Studio and installing, Generated c files, and it work with arduino 9.40 out of box :)

mvladic added a commit that referenced this pull request Nov 23, 2025
@mvladic
Copy link
Contributor

mvladic commented Nov 23, 2025

Since eez-flow.cpp is created from eez-framework files, I decided to fix this in eez-framework and recreate eez-flow.cpp. Thanks for your help.

@mvladic mvladic closed this Nov 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants