CONFIG_LVGL_USE_ASSERT_OBJ

Enable object assertion

Type: bool

Help

Enable object assertion

Check if an object is not a NULL pointer, has the correct type and does exists. (Quite Slow)

If this option is disabled and NULL pointer checking is enabled, the NULL pointer check is executed instead.

Direct dependencies

LVGL_USE_DEBUG && LVGL

(Includes any dependencies from ifs and menus.)

Default

Kconfig definition

At lib/gui/lvgl/Kconfig:434

Included via Kconfig:8Kconfig.zephyr:42lib/Kconfig:12lib/gui/Kconfig:4

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

config LVGL_USE_ASSERT_OBJ
    bool "Enable object assertion"
    default y if TEST
    depends on LVGL_USE_DEBUG && LVGL
    help
      Enable object assertion

      Check if an object is not a NULL pointer, has the correct type and
      does exists. (Quite Slow)

      If this option is disabled and NULL pointer checking is enabled, the
      NULL pointer check is executed instead.

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