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 <Zephyr>/lib/gui/lvgl/Kconfig.debug:53

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:33<Zephyr>/lib/Kconfig:14<Zephyr>/lib/gui/Kconfig:4<Zephyr>/lib/gui/lvgl/Kconfig:29

Menu path: (Top) → Additional libraries → LittlevGL GUI library → Debug settings → 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.)