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

Upgrade LVGL to v9.2.0 #469

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Upgrade LVGL to v9.2.0 #469

wants to merge 1 commit into from

Conversation

alevy
Copy link
Member

@alevy alevy commented Oct 18, 2024

This PR upgrades the LVGL library to version 9.2.0 and adjusts the example lvgl application accordingly.

This is mostly a straightforward port, though there is some cleanup of global variables etc to make the application example slightly more cannonical C using some of the better ergonomics of newer LVGL API.

Most significantly, this PR now elides the process-level conversion of the frame buffer from normal RGB565 to a swapped version for SPI and other busses that swap them (see: https://docs.lvgl.io/master/porting/display.html#swap-endianness). My argument is that including this at the process level is inappropriate and non-portable, instead individual drivers in the kernel should account for swapping bytes if needed.

This is currently not the case for at least the st77xx driver, but I have tock/tock#4206 address that.

LVGL 9 has a pretty significantly different API.
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

Successfully merging this pull request may close these issues.

1 participant