1# STM32 LTDC display driver configuration options 2 3# Copyright (c) 2022 Byte-Lab d.o.o. <dev@byte-lab.com> 4# SPDX-License-Identifier: Apache-2.0 5 6menuconfig STM32_LTDC 7 bool "STM32 LCD-TFT display controller driver" 8 default y 9 depends on DT_HAS_ST_STM32_LTDC_ENABLED 10 select USE_STM32_HAL_LTDC 11 help 12 Enable driver for STM32 LCT-TFT display controller periheral. 13 14choice STM32_LTDC_PIXEL_FORMAT 15 prompt "Color pixel format" 16 default STM32_LTDC_RGB565 17 depends on STM32_LTDC 18 help 19 Specify the color pixel format for the STM32 LCD-TFT display controller. 20 21config STM32_LTDC_ARGB8888 22 bool "ARGB8888" 23 help 24 One pixel consists of 8-bit alpha, 8-bit red, 8-bit green and 8-bit blue value 25 (4 bytes per pixel) 26 27config STM32_LTDC_RGB888 28 bool "RGB888" 29 help 30 One pixel consists of 8-bit red, 8-bit green and 8-bit blue value 31 (3 bytes per pixel) 32 33config STM32_LTDC_RGB565 34 bool "RGB565" 35 help 36 One pixel consists of 5-bit red, 6-bit green and 5-bit blue value 37 (2 bytes per pixel) 38 39endchoice 40