zephyr/boards/shields/st_b_lcd40_dsi1_mb1166/Kconfig.defconfig
HaiLong Yang be2700a8d9 boards: update stm32h747i_disco display
This update stm32h747i_disco board display config to use ltdc frame
buffer config feature.

For lvgl, by default ltdc frame buffer number set to 0.

Signed-off-by: HaiLong Yang <hailong.yang@brainco.cn>
2024-01-17 14:43:20 +01:00

43 lines
591 B
Plaintext

# Copyright (c) 2023 BrainCo Inc.
# SPDX-License-Identifier: Apache-2.0
if SHIELD_ST_B_LCD40_DSI1_MB1166
# Double frame buffer maintained by lvgl.
if LVGL
config STM32_LTDC_FB_NUM
default 0
config INPUT
default y
config LV_Z_VDB_SIZE
default 100
config LV_Z_DOUBLE_VDB
default y
config LV_Z_VBD_CUSTOM_SECTION
default y
config LV_Z_FULL_REFRESH
default y
config LV_Z_BITS_PER_PIXEL
default 32
config LV_DPI_DEF
default 128
config LV_Z_FLUSH_THREAD
default y
choice LV_COLOR_DEPTH
default LV_COLOR_DEPTH_32
endchoice
endif # LVGL
endif # SHIELD_ST_B_LCD40_DSI1_MB1166