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

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