-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Posix lvgl fixes #2812
Posix lvgl fixes #2812
Conversation
6cd3425
to
d78b298
Compare
Tested with https://github.com/caksoylar/zmk-posix-testbed/tree/non-interactive, on |
An SDL/Zephyr bug prevents proper display when SDL calls are made from anything but the main thread, so add task handling in our simple main function when on POSIX.
Properly handle differences in the size of `size_t` on 64-bit architectures.
Some targets may be using color displays, so instead of forcing on the mono theme, merely imply it to default it
d78b298
to
933ed92
Compare
Thanks for testing! I had to add a few more fixes to allow later updates to only be run on the main thread as well, by disabling our normal ticks/work when on POSIX, if you're up for one more quick test. |
Just got to testing the new version, seems to work fine here stil. |
fix(display): Do LVGL task processing in main on POSIX. An SDL/Zephyr bug prevents proper display when SDL calls are made from anything but the main thread, so add task handling in our simple main function when on POSIX. fix(usb): Compilation fix for 64-bit targets Properly handle differences in the size of `size_t` on 64-bit architectures. fix(display): Imply, but don't force, LVGL mono theme Some targets may be using color displays, so instead of forcing on the mono theme, merely imply it to default it
@caksoylar Can you test this there as well? These fixes were needed for me to get LVGL working properly on
native_posix_64
target here.PR check-list