You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
lv_binding_micropython provides the script for generating a Micropython module for accessing lvgl, but does not yet handle:
How lvgl Micropython module is registered and initialized on a Micropython Port (port in the sense of architecture such as "unix" or "esp32")
How display and input drivers are registered to lvgl.
Currently the lv_micropython repo contains an example of using lv_binding_micropython on the unix port. The unix port itself registers the binding, initializes it and registers display and input drivers.
Problems are:
It's difficult to scale lv_micropython to support other architectures other than unix
It's harder to add lvgl support to other Micropython forks.
No generic way to let the Micropython user select which driver he would like to use for display and input.
So I plan to:
Change the directory structure of lv_binding_micropython: add drivers and ports directories that would contain port-specific and driver specific code
Allow the user to register the display and input drivers in Micropython. Theoretically these drivers could be "pure python" but I don't think it's a good idea due to performance aspects.
I would like, however, to let the user select and register a driver on the python script.
lv_binding_micropython
provides the script for generating a Micropython module for accessing lvgl, but does not yet handle:Currently the
lv_micropython
repo contains an example of usinglv_binding_micropython
on the unix port. The unix port itself registers the binding, initializes it and registers display and input drivers.Problems are:
lv_micropython
to support other architectures other than unixSo I plan to:
lv_binding_micropython
: adddrivers
andports
directories that would contain port-specific and driver specific codeI would like, however, to let the user select and register a driver on the python script.
Related: lvgl/lvgl#557
The text was updated successfully, but these errors were encountered: