This is the documentation for the latest (main) development branch of Zephyr. If you are looking for the documentation of previous releases, use the drop-down menu on the left and select the desired version.
choice LVGL_COLOR_DEPTH: Color Depth

Color Depth

Type: bool

Help

Color depth to be used by library

Direct dependencies

(LVGL && DISPLAY && SHIELD_ADAFRUIT_2_8_TFT_TOUCH_V2) || (LVGL && DISPLAY && SHIELD_BUYDISPLAY_2_8_TFT_TOUCH_ARDUINO) || (LVGL && DISPLAY && SHIELD_BUYDISPLAY_3_5_TFT_TOUCH_ARDUINO) || (LVGL && DISPLAY && SHIELD_LS013B7DH03) || (LVGL && DISPLAY && (SHIELD_SSD1306_128X64 || SHIELD_SSD1306_128X64_SPI || SHIELD_SSD1306_128X32 || SHIELD_SH1106_128X64)) || (LVGL && DISPLAY && (SHIELD_ST7789V_TL019FQV01 || SHIELD_ST7789V_WAVESHARE_240X240)) || (LVGL && DISPLAY && (SHIELD_WAVESHARE_EPAPER_GDEH029A1 || SHIELD_WAVESHARE_EPAPER_GDEH0213B1 || SHIELD_WAVESHARE_EPAPER_GDEH0213B72 || SHIELD_WAVESHARE_EPAPER_GDEW075T7 || SHIELD_WAVESHARE_EPAPER_GDEH0154A07 || SHIELD_WAVESHARE_EPAPER_GDEW042T2)) || (LVGL && (BOARD_MIMXRT1050_EVK || BOARD_MIMXRT1050_EVK_QSPI)) || (LVGL && (BOARD_MIMXRT1060_EVK || BOARD_MIMXRT1060_EVK_HYPERFLASH)) || (LVGL && BOARD_MIMXRT1064_EVK) || (LVGL && (BOARD_REEL_BOARD || BOARD_REEL_BOARD_V2)) || (LVGL && DISPLAY && SHIELD_ADAFRUIT_2_8_TFT_TOUCH_V2) || (LVGL && DISPLAY && SHIELD_BUYDISPLAY_2_8_TFT_TOUCH_ARDUINO) || (LVGL && DISPLAY && SHIELD_BUYDISPLAY_3_5_TFT_TOUCH_ARDUINO) || (LVGL && DISPLAY && SHIELD_LS013B7DH03) || (LVGL && DISPLAY && (SHIELD_SSD1306_128X64 || SHIELD_SSD1306_128X64_SPI || SHIELD_SSD1306_128X32 || SHIELD_SH1106_128X64)) || (LVGL && DISPLAY && (SHIELD_ST7789V_TL019FQV01 || SHIELD_ST7789V_WAVESHARE_240X240)) || (LVGL && DISPLAY && (SHIELD_WAVESHARE_EPAPER_GDEH029A1 || SHIELD_WAVESHARE_EPAPER_GDEH0213B1 || SHIELD_WAVESHARE_EPAPER_GDEH0213B72 || SHIELD_WAVESHARE_EPAPER_GDEW075T7 || SHIELD_WAVESHARE_EPAPER_GDEH0154A07 || SHIELD_WAVESHARE_EPAPER_GDEW042T2)) || LVGL

(Includes any dependencies from ifs and menus.)

Kconfig definitions

At boards/shields/adafruit_2_8_tft_touch_v2/Kconfig.defconfig:48

Included via Kconfig:8Kconfig.zephyr:20

Menu path: (Top)

choice LVGL_COLOR_DEPTH
    bool
    default LVGL_COLOR_DEPTH_32
    depends on LVGL && DISPLAY && SHIELD_ADAFRUIT_2_8_TFT_TOUCH_V2

At boards/shields/buydisplay_2_8_tft_touch_arduino/Kconfig.defconfig:45

Included via Kconfig:8Kconfig.zephyr:20

Menu path: (Top)

choice LVGL_COLOR_DEPTH
    bool
    default LVGL_COLOR_DEPTH_16
    depends on LVGL && DISPLAY && SHIELD_BUYDISPLAY_2_8_TFT_TOUCH_ARDUINO

At boards/shields/buydisplay_3_5_tft_touch_arduino/Kconfig.defconfig:45

Included via Kconfig:8Kconfig.zephyr:20

Menu path: (Top)

choice LVGL_COLOR_DEPTH
    bool
    default LVGL_COLOR_DEPTH_16
    depends on LVGL && DISPLAY && SHIELD_BUYDISPLAY_3_5_TFT_TOUCH_ARDUINO

At boards/shields/ls0xx_generic/Kconfig.defconfig:40

Included via Kconfig:8Kconfig.zephyr:20

Menu path: (Top)

choice LVGL_COLOR_DEPTH
    bool
    default LVGL_COLOR_DEPTH_1
    depends on LVGL && DISPLAY && SHIELD_LS013B7DH03

At boards/shields/ssd1306/Kconfig.defconfig:51

Included via Kconfig:8Kconfig.zephyr:20

Menu path: (Top)

choice LVGL_COLOR_DEPTH
    bool
    default LVGL_COLOR_DEPTH_1
    depends on LVGL && DISPLAY && (SHIELD_SSD1306_128X64 || SHIELD_SSD1306_128X64_SPI || SHIELD_SSD1306_128X32 || SHIELD_SH1106_128X64)

At boards/shields/st7789v_generic/Kconfig.defconfig:36

Included via Kconfig:8Kconfig.zephyr:20

Menu path: (Top)

choice LVGL_COLOR_DEPTH
    bool
    default LVGL_COLOR_DEPTH_16 if SHIELD_ST7789V_WAVESHARE_240X240
    depends on LVGL && DISPLAY && (SHIELD_ST7789V_TL019FQV01 || SHIELD_ST7789V_WAVESHARE_240X240)

At boards/shields/waveshare_epaper/Kconfig.defconfig:58

Included via Kconfig:8Kconfig.zephyr:20

Menu path: (Top)

choice LVGL_COLOR_DEPTH
    bool
    default LVGL_COLOR_DEPTH_1
    depends on LVGL && DISPLAY && (SHIELD_WAVESHARE_EPAPER_GDEH029A1 || SHIELD_WAVESHARE_EPAPER_GDEH0213B1 || SHIELD_WAVESHARE_EPAPER_GDEH0213B72 || SHIELD_WAVESHARE_EPAPER_GDEW075T7 || SHIELD_WAVESHARE_EPAPER_GDEH0154A07 || SHIELD_WAVESHARE_EPAPER_GDEW042T2)

At boards/arm/mimxrt1050_evk/Kconfig.defconfig:77

Included via Kconfig:8Kconfig.zephyr:22

Menu path: (Top)

choice LVGL_COLOR_DEPTH
    bool
    default LVGL_COLOR_DEPTH_16
    depends on LVGL && (BOARD_MIMXRT1050_EVK || BOARD_MIMXRT1050_EVK_QSPI)

At boards/arm/mimxrt1060_evk/Kconfig.defconfig:77

Included via Kconfig:8Kconfig.zephyr:22

Menu path: (Top)

choice LVGL_COLOR_DEPTH
    bool
    default LVGL_COLOR_DEPTH_16
    depends on LVGL && (BOARD_MIMXRT1060_EVK || BOARD_MIMXRT1060_EVK_HYPERFLASH)

At boards/arm/mimxrt1064_evk/Kconfig.defconfig:71

Included via Kconfig:8Kconfig.zephyr:22

Menu path: (Top)

choice LVGL_COLOR_DEPTH
    bool
    default LVGL_COLOR_DEPTH_16
    depends on LVGL && BOARD_MIMXRT1064_EVK

At boards/arm/reel_board/Kconfig.defconfig:34

Included via Kconfig:8Kconfig.zephyr:22

Menu path: (Top)

choice LVGL_COLOR_DEPTH
    bool
    default LVGL_COLOR_DEPTH_1
    depends on LVGL && (BOARD_REEL_BOARD || BOARD_REEL_BOARD_V2)

At boards/shields/adafruit_2_8_tft_touch_v2/Kconfig.defconfig:48

Included via Kconfig:8Kconfig.zephyr:22

Menu path: (Top)

choice LVGL_COLOR_DEPTH
    bool
    default LVGL_COLOR_DEPTH_32
    depends on LVGL && DISPLAY && SHIELD_ADAFRUIT_2_8_TFT_TOUCH_V2

At boards/shields/buydisplay_2_8_tft_touch_arduino/Kconfig.defconfig:45

Included via Kconfig:8Kconfig.zephyr:22

Menu path: (Top)

choice LVGL_COLOR_DEPTH
    bool
    default LVGL_COLOR_DEPTH_16
    depends on LVGL && DISPLAY && SHIELD_BUYDISPLAY_2_8_TFT_TOUCH_ARDUINO

At boards/shields/buydisplay_3_5_tft_touch_arduino/Kconfig.defconfig:45

Included via Kconfig:8Kconfig.zephyr:22

Menu path: (Top)

choice LVGL_COLOR_DEPTH
    bool
    default LVGL_COLOR_DEPTH_16
    depends on LVGL && DISPLAY && SHIELD_BUYDISPLAY_3_5_TFT_TOUCH_ARDUINO

At boards/shields/ls0xx_generic/Kconfig.defconfig:40

Included via Kconfig:8Kconfig.zephyr:22

Menu path: (Top)

choice LVGL_COLOR_DEPTH
    bool
    default LVGL_COLOR_DEPTH_1
    depends on LVGL && DISPLAY && SHIELD_LS013B7DH03

At boards/shields/ssd1306/Kconfig.defconfig:51

Included via Kconfig:8Kconfig.zephyr:22

Menu path: (Top)

choice LVGL_COLOR_DEPTH
    bool
    default LVGL_COLOR_DEPTH_1
    depends on LVGL && DISPLAY && (SHIELD_SSD1306_128X64 || SHIELD_SSD1306_128X64_SPI || SHIELD_SSD1306_128X32 || SHIELD_SH1106_128X64)

At boards/shields/st7789v_generic/Kconfig.defconfig:36

Included via Kconfig:8Kconfig.zephyr:22

Menu path: (Top)

choice LVGL_COLOR_DEPTH
    bool
    default LVGL_COLOR_DEPTH_16 if SHIELD_ST7789V_WAVESHARE_240X240
    depends on LVGL && DISPLAY && (SHIELD_ST7789V_TL019FQV01 || SHIELD_ST7789V_WAVESHARE_240X240)

At boards/shields/waveshare_epaper/Kconfig.defconfig:58

Included via Kconfig:8Kconfig.zephyr:22

Menu path: (Top)

choice LVGL_COLOR_DEPTH
    bool
    default LVGL_COLOR_DEPTH_1
    depends on LVGL && DISPLAY && (SHIELD_WAVESHARE_EPAPER_GDEH029A1 || SHIELD_WAVESHARE_EPAPER_GDEH0213B1 || SHIELD_WAVESHARE_EPAPER_GDEH0213B72 || SHIELD_WAVESHARE_EPAPER_GDEW075T7 || SHIELD_WAVESHARE_EPAPER_GDEH0154A07 || SHIELD_WAVESHARE_EPAPER_GDEW042T2)

At lib/gui/lvgl/Kconfig.graphical:25

Included via Kconfig:8Kconfig.zephyr:43lib/Kconfig:8lib/gui/Kconfig:4lib/gui/lvgl/Kconfig:24

Menu path: (Top) → Additional libraries → LittlevGL GUI library → Graphical settings

choice LVGL_COLOR_DEPTH
    bool "Color Depth"
    default LVGL_COLOR_DEPTH_32
    depends on LVGL
    help
      Color depth to be used by library

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)