-
-
Couldn't load subscription status.
- Fork 181
Description
Is your feature request related to a problem? Please describe.
No
Describe the solution you'd like
Full support for generating code that will run on an LVGL MicroPython Binding.
I am not talking about the official binding as it doesn't have a consistent API for displays and input devices.
I have been spending a pretty sizeable amount of time developing a new MicroPython binding to LVGL. I have made it easier to compile the firmware and added quite a few display drivers and touch drivers. Most importantly I have added support for I8080, RGB and LED Matrix's. I also reworked the SPI interface so SPI touch devices as well as SD Card can be sued on the same SPI bus as a display.
There is a static API across almost all display drivers. There are only a few that are only a tiny bit different and those are for less common displays. The touch drivers are pretty consistent across them, some might have additional features that can be used but these are optional. Because of the consistent API adding full support is easier to do because a single code output template would cover 95% of the displays and a single template would cover 100% of the touch drivers.
I can even go to the extent of generating a JSON file that contains the entire LVGL API for the binding complete with data types and documentation too. That can be used to dynamically create the different controls in your software.
The binding can also be compiled to run on macOS, Windows and Linux and the same code that runs on an MCU is able to be run on the desktop. So you can provide a preview window of the GUI actually running real time as changes are made.
Describe alternatives you've considered
The "other" studio (ack!)
Additional context
None