-
Notifications
You must be signed in to change notification settings - Fork 3
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
[ek_ra8d1] Drop down lists cannot be opened if DAVE2D is enebled #4
Comments
Seems the Dave2D receives a drawing task with target layer buffer address set to 0, this causes the Dave2D to write to an invalid location, and it doesn't complete (an error interrupt occurs). As a work around, if I put a check in the execute_drawing function, :-
Then the drop down list works with the Daver2D enabled. Not sure why a drawing task would have target layer buffer address set to 0 |
In some cases LVGL creates new "layer"s where it draws some tasks. The buffer for these layers are not allocated immediately, but they should be allocated in the dispatcher when the the first draw task is drawn on them. See here in the SW renderer. |
I was missing the allocation of buffer for new "layers" I added it in this commit, and it fixed the drop down list issue :- |
I have created a pull request, lvgl/lvgl#5060 this partially fixes the issue. The colour of the corners of the drop down list drawn by the Dave2D don't quite look correct still. |
Thank you for the PR! |
When opening the drop down list of the widgets demo the application crashes.
It works well if DAVE2D is disabled.
The text was updated successfully, but these errors were encountered: