1# Copyright 2024 NXP 2# SPDX-License-Identifier: Apache-2.0 3 4if SHIELD_RK043FN02H_CT 5 6if LVGL 7 8config INPUT 9 default y 10 11# LVGL should allocate buffers equal to size of display 12config LV_Z_VDB_SIZE 13 default 100 14 15# Enable double buffering 16config LV_Z_DOUBLE_VDB 17 default y 18 19# Force full refresh. This prevents memory copy associated with partial 20# display refreshes, which is not necessary for the eLCDIF driver 21config LV_Z_FULL_REFRESH 22 default y 23 24config LV_Z_BITS_PER_PIXEL 25 default 16 26 27config LV_DPI_DEF 28 default 128 29 30# Use offloaded render thread 31config LV_Z_FLUSH_THREAD 32 default y 33 34choice LV_COLOR_DEPTH 35 default LV_COLOR_DEPTH_16 36endchoice 37 38# Force display buffers to be aligned to cache line size (32 bytes) 39config LV_Z_VDB_ALIGN 40 default 32 41 42endif # LVGL 43 44endif # SHIELD_RK043FN02H_CT 45