Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(gen): accept a JSON from the LVGL JSON generator #349

Merged
merged 1 commit into from
Jul 19, 2024

Conversation

liamHowatt
Copy link
Contributor

For lvgl/lvgl#6068

This is a backwards-compatible change that allows gen_mpy.py to accept a JSON from the LVGL JSON generator.

Currently it only uses the JSON to find the user_data member of private structs.

@liamHowatt liamHowatt changed the title gen_mpy.py accepts a JSON from the LVGL JSON generator feat(gen): accept a JSON from the LVGL JSON generator Jul 19, 2024
@liamHowatt
Copy link
Contributor Author

Blocking lvgl/lv_micropython#84

@kdschlosser
Copy link
Contributor

for a minute there you had me thinking that the gen_mpy script had been rewritten to use the JSON output instead of Pycparser directly.

@kisvegabor kisvegabor merged commit 6dff116 into lvgl:master Jul 19, 2024
1 check passed
@kisvegabor
Copy link
Member

I would be ok with making the MP binding fully work based on the JSON. But let's proceed step by step. :)

@liamHowatt liamHowatt deleted the fix/lvgl-api-refactor branch July 19, 2024 23:33
@liamHowatt liamHowatt restored the fix/lvgl-api-refactor branch July 19, 2024 23:35
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.

3 participants