BIG CHANGE COMMING SOON #308
kdschlosser
announced in
Announcements
Replies: 1 comment 1 reply
-
That sound very promising. I'm currently having a hard time starting with LVGL on Micropython, because the documentation is a mess. This makes me want to bite someone. Many thanks for doing this. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have really grown tired of the API for the binding. It is a complete mess and really doesn't make hell of a lot of sense the way it is done. I have been working with the code generation script and close to be finished with flattening the API so it aligns with the LVGL C API. That means no more guessing at where things are. You will be able to easily use the LVGL API documentation to look up what you need. I believe this is going to speed up development time for people.
The way I am looking at it is if people want to continue to use the current API they can write wrapper classes in Python to handle it.
I have also spent some time working over the stub file generation script and that is really close to be spot on perfect with no errors in it. This is am really happy about as well because I am going to be able to develop a documentation build system using that stub file output. The developers of Sphinx have finally added support for reading stub files. They added it really fast too, only took 2-3 years from when I requested it 😮 😠 ... But now that it has finally been added I will be putting it to use if I can figure out how to. Hopefully it automatically does it but I have a suspicion that it's not going to be that easy...
The last compile run is done so I am going to check it out. If it has finished building the stub file and the file is the way it should be then I am going to move the code to a fresh pull of the repo and see if it compile properly without any kickbacks. Some changes I made are causing a failure before the generated C code compiles but after the stub file is created and the C code is generated. I need to make sure it compiles 100% before I commit the changes.
Beta Was this translation helpful? Give feedback.
All reactions