1 /* 2 * Copyright 2023 Fabian Blatz <fabianblatz@gmail.com> 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7 #ifndef ZEPHYR_MODULES_LVGL_LVGL_SUPPORT_H_ 8 #define ZEPHYR_MODULES_LVGL_LVGL_SUPPORT_H_ 9 10 #include <zephyr/cache.h> 11 DEMO_CleanInvalidateCacheByAddr(void * addr,uint16_t size)12static ALWAYS_INLINE void DEMO_CleanInvalidateCacheByAddr(void *addr, uint16_t size) 13 { 14 sys_cache_data_invd_range(addr, size); 15 } 16 17 #endif /* ZEPHYR_MODULES_LVGL_LVGL_SUPPORT_H_ */ 18