CONFIG_LVGL_USE_ASSERT_STR

Enable string assertion

Type: bool

Help

Enable string assertion

Check if the string is not a NULL pointer, unusually long string, contains invalid characters or contains unusual repetitions. (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:422

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_STR
    bool "Enable string assertion"
    default y if TEST
    depends on LVGL_USE_DEBUG && LVGL
    help
      Enable string assertion

      Check if the string is not a NULL pointer, unusually long string,
      contains invalid characters or contains unusual repetitions. (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.)