The latest development version of this page may be more current than this released 2.6.1-rc1 version.
CONFIG_LVGL_DPI

Dots per inch

Dots per inch

DPI

Type: int

Help

Dots per inch (DPI)

Direct dependencies

(LVGL && DISPLAY && SHIELD_LS013B7DH03) || (LVGL && DISPLAY && (SHIELD_SSD1306_128X64 || SHIELD_SSD1306_128X64_SPI || SHIELD_SSD1306_128X32 || SHIELD_SH1106_128X64)) || (LVGL && DISPLAY && (SHIELD_WAVESHARE_EPAPER_GDEH029A1 || SHIELD_WAVESHARE_EPAPER_GDEH0213B1 || SHIELD_WAVESHARE_EPAPER_GDEH0213B72 || SHIELD_WAVESHARE_EPAPER_GDEW075T7 || SHIELD_WAVESHARE_EPAPER_GDEH0154A07)) || (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_LS013B7DH03) || (LVGL && DISPLAY && (SHIELD_SSD1306_128X64 || SHIELD_SSD1306_128X64_SPI || SHIELD_SSD1306_128X32 || SHIELD_SH1106_128X64)) || (LVGL && DISPLAY && (SHIELD_WAVESHARE_EPAPER_GDEH029A1 || SHIELD_WAVESHARE_EPAPER_GDEH0213B1 || SHIELD_WAVESHARE_EPAPER_GDEH0213B72 || SHIELD_WAVESHARE_EPAPER_GDEW075T7 || SHIELD_WAVESHARE_EPAPER_GDEH0154A07)) || LVGL

(Includes any dependencies from ifs and menus.)

Defaults

Kconfig definitions

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

Included via Kconfig:8Kconfig.zephyr:17doc/_build/Kconfig/Kconfig.shield.defconfig:1

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:17doc/_build/Kconfig/Kconfig.shield.defconfig:1

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:49

Included via Kconfig:8Kconfig.zephyr:17doc/_build/Kconfig/Kconfig.shield.defconfig:1

Menu path: (Top)

config LVGL_DPI
    int
    default 188 if SHIELD_WAVESHARE_EPAPER_GDEH0154A07
    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)

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

Included via Kconfig:8Kconfig.zephyr:18

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:71

Included via Kconfig:8Kconfig.zephyr:18

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:70

Included via Kconfig:8Kconfig.zephyr:18

Menu path: (Top)

config LVGL_DPI
    int
    default 128
    depends on LVGL && BOARD_MIMXRT1064_EVK

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

Included via Kconfig:8Kconfig.zephyr:18

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:18

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:18

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:49

Included via Kconfig:8Kconfig.zephyr:18

Menu path: (Top)

config LVGL_DPI
    int
    default 188 if SHIELD_WAVESHARE_EPAPER_GDEH0154A07
    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)

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

Included via Kconfig:8Kconfig.zephyr:33lib/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.)