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.

CONFIG_LVGL_DPI

Dots per inch

Dots per inch

DPI

Type: int

Help

Dots per inch (DPI)

Kconfig definitions

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

Included via Kconfig:8Kconfig.zephyr:20

Menu path: (Top)

config LVGL_DPI
    int "Dots per inch"
    default 150
    depends on LVGL && DISPLAY && SHIELD_LS013B7DH03

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

Included via Kconfig:8Kconfig.zephyr:20

Menu path: (Top)

config LVGL_DPI
    int
    default 116 if SHIELD_SH1106_128X64
    default 148
    depends on LVGL && DISPLAY && (SHIELD_SSD1306_128X64 || SHIELD_SSD1306_128X64_SPI || SHIELD_SSD1306_128X32 || SHIELD_SH1106_128X64)

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

Included via Kconfig:8Kconfig.zephyr:20

Menu path: (Top)

config LVGL_DPI
    int
    default 188 if SHIELD_WAVESHARE_EPAPER_GDEH0154A07
    default 120 if SHIELD_WAVESHARE_EPAPER_GDEW042T2
    default 130
    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:61

Included via Kconfig:8Kconfig.zephyr:22

Menu path: (Top)

config LVGL_DPI
    int
    default 128
    depends on LVGL && (BOARD_MIMXRT1050_EVK || BOARD_MIMXRT1050_EVK_QSPI)

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

Included via Kconfig:8Kconfig.zephyr:22

Menu path: (Top)

config LVGL_DPI
    int
    default 128
    depends on LVGL && (BOARD_MIMXRT1060_EVK || BOARD_MIMXRT1060_EVK_HYPERFLASH)

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

Included via Kconfig:8Kconfig.zephyr:22

Menu path: (Top)

config LVGL_DPI
    int
    default 128
    depends on LVGL && BOARD_MIMXRT1064_EVK

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

Included via Kconfig:8Kconfig.zephyr:22

Menu path: (Top)

config LVGL_DPI
    int
    default 130
    depends on LVGL && (BOARD_REEL_BOARD || BOARD_REEL_BOARD_V2)

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

Included via Kconfig:8Kconfig.zephyr:22

Menu path: (Top)

config LVGL_DPI
    int "Dots per inch"
    default 150
    depends on LVGL && DISPLAY && SHIELD_LS013B7DH03

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

Included via Kconfig:8Kconfig.zephyr:22

Menu path: (Top)

config LVGL_DPI
    int
    default 116 if SHIELD_SH1106_128X64
    default 148
    depends on LVGL && DISPLAY && (SHIELD_SSD1306_128X64 || SHIELD_SSD1306_128X64_SPI || SHIELD_SSD1306_128X32 || SHIELD_SH1106_128X64)

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

Included via Kconfig:8Kconfig.zephyr:22

Menu path: (Top)

config LVGL_DPI
    int
    default 188 if SHIELD_WAVESHARE_EPAPER_GDEH0154A07
    default 120 if SHIELD_WAVESHARE_EPAPER_GDEW042T2
    default 130
    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:113

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

config LVGL_DPI
    int "DPI"
    default 130
    depends on LVGL
    help
      Dots per inch (DPI)

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