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

Micropython bindings for LVGL 3rd party libraries #180

Closed
amirgon opened this issue Sep 20, 2021 · 1 comment
Closed

Micropython bindings for LVGL 3rd party libraries #180

amirgon opened this issue Sep 20, 2021 · 1 comment

Comments

@amirgon
Copy link
Collaborator

amirgon commented Sep 20, 2021

Related: lvgl/lvgl#2569 (comment)

amirgon added a commit to amirgon/lvgl that referenced this issue Oct 14, 2021
Add missing lv_qrcode_class

Remove 'struct JDEC' from public API. This struct is needed intenally on tjpgd.c and lv_sjpg.c, but doesn't need to be exposed in the public API. When exposed, it increases Micropython binding program size and some fields are not supported today (uint8_t* huffbits[2][2]). To overcome this, moved it to a new H file which is not included in public API, only in sjpg C files

Related: lvgl/lv_binding_micropython#180
kisvegabor pushed a commit to lvgl/lvgl that referenced this issue Oct 20, 2021
* Fixes for MP support for LVGL 3rd party libraries

Add missing lv_qrcode_class

Remove 'struct JDEC' from public API. This struct is needed intenally on tjpgd.c and lv_sjpg.c, but doesn't need to be exposed in the public API. When exposed, it increases Micropython binding program size and some fields are not supported today (uint8_t* huffbits[2][2]). To overcome this, moved it to a new H file which is not included in public API, only in sjpg C files

Related: lvgl/lv_binding_micropython#180

* lv_qrcode: add lv_class_qrcode

Must define a distinct class for every widget, to allow Micropython bindings convert lv_obj_t into the specific class

* gifdec.c: fix uninitialized

ESP32 reports some potentially uninitialized variables. Initialize them to prevent the errors

* src/extra/libs/sjpg: smaller public header

Only keep lv_split_jpeg_init in public header, since JPEG is used with image decoder

* Remove tjdec.h
amirgon added a commit to lvgl/lv_micropython that referenced this issue Oct 20, 2021
Support some LVGL external libs. Related: lvgl/lv_binding_micropython#180

ESP32: Freeze lv_spi.py and sdcard.py. Related: lvgl/lv_binding_micropython#186, lvgl/lv_binding_micropython#69
@amirgon
Copy link
Collaborator Author

amirgon commented Oct 20, 2021

Fixed by c251269 and lvgl/lvgl#2666

@amirgon amirgon closed this as completed Oct 20, 2021
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

1 participant