:orphan: .. title:: TEST_HW_STACK_PROTECTION .. option:: CONFIG_TEST_HW_STACK_PROTECTION *Enable hardware-based stack overflow detection if available* Type: ``bool`` Help ==== This option will enable hardware-based stack protection by default for all test cases if the hardware supports it. Direct dependencies =================== \ :option:`ARCH_HAS_STACK_PROTECTION ` && \ :option:`TEST ` *(Includes any dependencies from ifs and menus.)* Default ======= - y if !\ :option:`TEST_USERSPACE_WITHOUT_HW_STACK_PROTECTION ` Symbols selected by this symbol =============================== - \ :option:`HW_STACK_PROTECTION ` Kconfig definition ================== .. highlight:: kconfig At ``subsys/testsuite/Kconfig:113`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:34`` → ``subsys/Kconfig:55`` Menu path: (Top) → Sub Systems and OS Services → Testing .. parsed-literal:: config TEST_HW_STACK_PROTECTION bool "Enable hardware-based stack overflow detection if available" default y if !\ :option:`TEST_USERSPACE_WITHOUT_HW_STACK_PROTECTION ` select \ :option:`HW_STACK_PROTECTION ` depends on \ :option:`ARCH_HAS_STACK_PROTECTION ` && \ :option:`TEST ` help This option will enable hardware-based stack protection by default for all test cases if the hardware supports it. *(The 'depends on' condition includes propagated dependencies from ifs and menus.)*