Add OS_SDK_ZEPHYR definition to LVGL compile defines #69987
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This enables us to use it in NXP's PXP accelerator (and later VGlite) support in LVGL.
(LVGL supports PXP, but only for freertos right now)
For a little more detail, Zephyr PXP support in LVGL requires two things:
To do #1, we need a define we can ifdef off in LVGL. The current FreeRTOS one is named OS_SDK_FREE_RTOS, so this introduces OS_SDK_ZEPHYR.
The rest of the patches for #1 go upstream, and are small (see zephyrproject-rtos/lvgl@zephyr...dberlin:lvgl:zephyr)
If zephyr is going to stick at 8.x for a bit, i can send backport patches as well
For #2, i'll send a patch to do the irq connect in lvgl_init if pxp support is enabled.
Note: All of this is unrelated to the current zephyr DMA driver and ELCDIF driver for PXP (which are related to doing hardware accelerated rotation for the display)