1# STM32H7B3I DISCOVERY KIT board configuration 2 3# Copyright (c) 2022 Byte-Lab d.o.o. <dev@byte-lab.com> 4# Copyright (c) 2024 Charles Dias <charlesdias.cd@outlook.com> 5# SPDX-License-Identifier: Apache-2.0 6 7if BOARD_STM32H7B3I_DK 8 9config INPUT 10 default y if LVGL 11 12# MEMC needs to be enabled in order to store 13# display buffer to external SDRAM connected to FMC 14config MEMC 15 default y if DISPLAY 16 17if LVGL 18 19config CACHE_MANAGEMENT 20 default y 21 22config LV_USE_DRAW_DMA2D 23 default y 24 25config STM32_LTDC_FB_NUM 26 default 2 27 28config LV_Z_VDB_SIZE 29 default 100 30 31config LV_Z_DOUBLE_VDB 32 default y 33 34config LV_Z_FULL_REFRESH 35 default y 36 37config LV_Z_VDB_CUSTOM_SECTION 38 default y 39 40config LV_Z_FLUSH_THREAD 41 default y 42 43config LV_Z_BITS_PER_PIXEL 44 default 16 if STM32_LTDC_RGB565 45 46endif # LVGL 47 48endif # BOARD_STM32H7B3I_DK 49