This is the documentation for the latest (master) 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.
CONFIG_LVGL_COLOR_16_SWAP

RGB565 byte swap

Type: bool

Help

Swap the 2 bytes of a RGB565 pixel.

Direct dependencies

(LVGL && DISPLAY && (SHIELD_ST7789V_TL019FQV01 || SHIELD_ST7789V_WAVESHARE_240X240)) || (LVGL && DISPLAY && (SHIELD_ST7789V_TL019FQV01 || SHIELD_ST7789V_WAVESHARE_240X240)) || (LVGL_COLOR_DEPTH_16 && LVGL)

(Includes any dependencies from ifs and menus.)

Kconfig definitions

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

Included via Kconfig:8Kconfig.zephyr:23

Menu path: (Top)

config LVGL_COLOR_16_SWAP
    bool
    default y if SHIELD_ST7789V_WAVESHARE_240X240
    depends on LVGL && DISPLAY && (SHIELD_ST7789V_TL019FQV01 || SHIELD_ST7789V_WAVESHARE_240X240)

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

Included via Kconfig:8Kconfig.zephyr:24

Menu path: (Top)

config LVGL_COLOR_16_SWAP
    bool
    default y if SHIELD_ST7789V_WAVESHARE_240X240
    depends on LVGL && DISPLAY && (SHIELD_ST7789V_TL019FQV01 || SHIELD_ST7789V_WAVESHARE_240X240)

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

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

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

config LVGL_COLOR_16_SWAP
    bool "RGB565 byte swap"
    depends on LVGL_COLOR_DEPTH_16 && LVGL
    help
      Swap the 2 bytes of a RGB565 pixel.

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