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

unable to use latest micropython due to MP_DEFINE_CONST_OBJ_TYPE replaces mp_obj_type_t #244

Closed
meetroger opened this issue Nov 29, 2022 · 1 comment

Comments

@meetroger
Copy link

since the latest micropython makes all mp_obj_type_t defs use MP_DEFINE_CONST_OBJ_TYPE (micropython/micropython@662b976), the gen_mpy.py must be modified to use MP_DEFINE_CONST_OBJ_TYPE. The mp_lv_obj_types is assumed to use items with a fixed length, which make it hard to migrate.

@amirgon
Copy link
Collaborator

amirgon commented Dec 2, 2022

lv_micropython and lv_binding_micropython follow the official Micropython releases.
Latest Micropython release as of today is v1.19.1 and lv_micropython/lv_binding_micropython are compatible with it.

When a new Micropython version is released, I'll adap lv_micropython and lv_binding_micropython to it.
In the meanwhile, you can try using the changes in #242 which include the MP_DEFINE_CONST_OBJ_TYPE modification.

@amirgon amirgon closed this as completed Dec 2, 2022
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

No branches or pull requests

2 participants