Skip to content

Conversation

@carylhubin
Copy link

This PR updates LVGL definitions and API references from version 8.x to 9.x

static void mp_lv_delete_cb(lv_event_t * e)
{
LV_OBJ_T *lv_obj = e->current_target;
Copy link
Author

@carylhubin carylhubin Dec 8, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I noticed that this macro is used at the top of the files (lvgl + python):

#define LV_OBJ_T {obj_type}

typedef struct mp_lv_obj_type_t {
    const lv_obj_class_t *lv_obj_class;
    const mp_obj_type_t *mp_obj_type;
} mp_lv_obj_type_t;

I was wondering if it’s still necessary.

import stub_gen

stub_gen.run(args.metadata)
stub_gen.run(args.metadata, '')
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Inside gen/stub_gen.py, function def run(json_path, lvgl_api_json_path):,
argument lvgl_api_json_path is currently unused.

Is this still a work in progress?

@carylhubin carylhubin marked this pull request as ready for review December 8, 2025 20:30
@carylhubin carylhubin marked this pull request as draft December 8, 2025 20:36
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.

1 participant