-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
modules: lvgl: Add support for NXP PXP engine
Adds support for the NXP PXP engine. LVGL changed the Kconfig symbol from LV_USE_GPU_NXP_PXP to LV_USE_PXP, but hal_nxp still relies on LV_USE_GPU_NXP_PXP, so add a temporary symbol for it. Additionally the drawing engines need to invalidate ranges in the dcache, the method needs to be provided via a lvgl_support.h file. Signed-off-by: Fabian Blatz <[email protected]>
- Loading branch information
Showing
2 changed files
with
31 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
/* | ||
* Copyright 2023 Fabian Blatz <[email protected]> | ||
* | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
#ifndef ZEPHYR_MODULES_LVGL_LVGL_SUPPORT_H_ | ||
#define ZEPHYR_MODULES_LVGL_LVGL_SUPPORT_H_ | ||
|
||
#include <zephyr/cache.h> | ||
|
||
static ALWAYS_INLINE void DEMO_CleanInvalidateCacheByAddr(void *addr, uint16_t size) | ||
{ | ||
sys_cache_data_invd_range(addr, size); | ||
} | ||
|
||
#endif /* ZEPHYR_MODULES_LVGL_LVGL_SUPPORT_H_ */ |