:orphan: .. title:: CONFIG_LOG2_USE_VLA .. kconfig:: CONFIG_LOG2_USE_VLA CONFIG_LOG2_USE_VLA ################### *Using variable length arrays* Type: ``bool`` Help ==== .. code-block:: none Using VLA slightly decreases stack usage in some cases it may not be supported. Note that VLA are used for arrays which size is resolved at compile time so at runtime arrays have fixed size. Direct dependencies =================== \ :kconfig:`LOG ` *(Includes any dependencies from ifs and menus.)* Default ======= - y if !\ :kconfig:`MISRA_SANE ` Kconfig definition ================== At ``/logging/Kconfig.misc:29`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:44`` → ``/Kconfig:31`` → ``/logging/Kconfig:27`` Menu path: (Top) → Sub Systems and OS Services → Logging → Misc .. code-block:: kconfig config LOG2_USE_VLA bool "Using variable length arrays" default y if !MISRA_SANE depends on LOG help Using VLA slightly decreases stack usage in some cases it may not be supported. Note that VLA are used for arrays which size is resolved at compile time so at runtime arrays have fixed size. *(The 'depends on' condition includes propagated dependencies from ifs and menus.)*