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
12config INPUT_FT5336_INTERRUPT
13	default y if INPUT_FT5336
14
15# MEMC needs to be enabled in order to store
16# display buffer to external SDRAM connected to FMC
17config MEMC
18	default y if DISPLAY
19
20if LVGL
21
22config CACHE_MANAGEMENT
23	default y
24
25config LV_USE_DRAW_DMA2D
26	default y
27
28config LV_DRAW_DMA2D_HAL_INCLUDE
29	default "stm32h7xx.h"
30
31config STM32_LTDC_FB_NUM
32	default 2
33
34config LV_Z_VDB_SIZE
35	default 100
36
37config LV_Z_DOUBLE_VDB
38	default y
39
40config LV_Z_FULL_REFRESH
41	default y
42
43config LV_Z_VBD_CUSTOM_SECTION
44	default y
45
46config LV_Z_FLUSH_THREAD
47	default y
48
49config LV_Z_BITS_PER_PIXEL
50	default 16 if STM32_LTDC_RGB565
51
52endif # LVGL
53
54endif # BOARD_STM32H7B3I_DK
55