The latest development version of this page may be more current than this released 2.7.5 version.

CONFIG_LVGL_USE_ASSERT_NULL

Enable null pointer assertion

Type: bool

Help

Enable null pointer assertion

Check if a null pointer is passed as a parameter (Quite fast)

Direct dependencies

LVGL_USE_DEBUG && LVGL

(Includes any dependencies from ifs and menus.)

Default

Kconfig definition

At lib/gui/lvgl/Kconfig.debug:19

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

Menu path: (Top) → Additional libraries → LittlevGL GUI library → Debug settings → Enable debug support

config LVGL_USE_ASSERT_NULL
    bool "Enable null pointer assertion"
    default y if TEST
    depends on LVGL_USE_DEBUG && LVGL
    help
      Enable null pointer assertion

      Check if a null pointer is passed as a parameter (Quite fast)

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