| # STM32 LTDC display driver configuration options |
| # Copyright (c) 2022 Byte-Lab d.o.o. <dev@byte-lab.com> |
| # SPDX-License-Identifier: Apache-2.0 |
| bool "STM32 LCD-TFT display controller driver" |
| depends on DT_HAS_ST_STM32_LTDC_ENABLED |
| select USE_STM32_HAL_LTDC |
| Enable driver for STM32 LCT-TFT display controller periheral. |
| choice STM32_LTDC_PIXEL_FORMAT |
| prompt "Color pixel format" |
| default STM32_LTDC_RGB565 |
| Specify the color pixel format for the STM32 LCD-TFT display controller. |
| config STM32_LTDC_ARGB8888 |
| One pixel consists of 8-bit alpha, 8-bit red, 8-bit green and 8-bit blue value |
| One pixel consists of 8-bit red, 8-bit green and 8-bit blue value |
| One pixel consists of 5-bit red, 6-bit green and 5-bit blue value |