Skip to content

Use of mp_obj_type_t Incompatible with latest micropython? #258

Closed
@nord0296

Description

@nord0296

I have the lv_micropython building and running on a Pico W with Waveshare 2.8" ResTouch and realized the Pico W board was not in the lv_micropython fork as it was too old (I built for just Pico).

Rather than pulling in the board details to the lv_micropython fork, I tried to add the lv_binding_micropython submodule to a new clone of the latest micropython main repo.

I don't believe I have made any significant mistakes yet, but in trying to get it to build I'm seeing numerous errors that seem to imply the lv_bindings lib is not compatible with their allocation for mp_obj_type anymore.

The build errors helpfully (?) point to the wiki - https://github.com/micropython/micropython/wiki/Build-Troubleshooting and chasing it a little make it look like the code generated by gen_mpy.py is unaware of this change and using prior syntax (prior to micropython/micropython#8813)

Please let me know if I am mistaken in my analysis. Maybe if I want build a fairly up to date PicoW build I need to take another approach?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions