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

Merged
merged 1 commit into from
Oct 21, 2024
Merged

Upgrade LVGL to v9.2.0 #469

merged 1 commit into from
Oct 21, 2024

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.
@alevy alevy added this pull request to the merge queue Oct 21, 2024
Merged via the queue into master with commit 97cc77d Oct 21, 2024
4 checks passed
@alevy alevy deleted the lvgl-upgrade branch October 21, 2024 21:41
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.

2 participants