The latest development version of this page may be more current than this released 2.5.0 version.
CONFIG_TEST_EXTRA_STACKSIZE

Test function extra thread stack size

Type: int

Help

Additional stack for tests on some platform where default is not enough.

Defaults

Kconfig definitions

At arch/arm/core/aarch32/cortex_m/Kconfig:303

Included via Kconfig:8Kconfig.zephyr:29arch/Kconfig:12arch/arm/Kconfig:42arch/arm/core/aarch32/Kconfig:237

Menu path: (Top) → ARM Options → ARM Cortex-M0/M0+/M1/M3/M4/M7/M23/M33 options

config TEST_EXTRA_STACKSIZE
    int
    default 512 if TEST_ARM_CORTEX_M && FPU_SHARING
    depends on (ARMV6_M_ARMV8_M_BASELINE || ARMV7_M_ARMV8_M_MAINLINE) && CPU_CORTEX_M && !ARM64 && ARM

At arch/arm/core/aarch64/Kconfig:41

Included via Kconfig:8Kconfig.zephyr:29arch/Kconfig:12arch/arm/Kconfig:46

Menu path: (Top) → ARM Options

config TEST_EXTRA_STACKSIZE
    int
    default 2048
    depends on ARM64 && ARM

At arch/riscv/Kconfig:138

Included via Kconfig:8Kconfig.zephyr:29arch/Kconfig:12

Menu path: (Top) → RISCV Options

config TEST_EXTRA_STACKSIZE
    int
    default 1024 if 64BIT
    depends on RISCV

At arch/sparc/Kconfig:51

Included via Kconfig:8Kconfig.zephyr:29arch/Kconfig:12

Menu path: (Top) → SPARC Options

config TEST_EXTRA_STACKSIZE
    int
    default 4096 if COVERAGE_GCOV
    default 2048
    depends on SPARC

At arch/x86/core/Kconfig.intel64:17

Included via Kconfig:8Kconfig.zephyr:29arch/Kconfig:12arch/x86/Kconfig:320

Menu path: (Top) → X86 Architecture Options

config TEST_EXTRA_STACKSIZE
    int
    default 4096
    depends on X86_64 && X86

At subsys/testsuite/Kconfig:17

Included via Kconfig:8Kconfig.zephyr:34subsys/Kconfig:55

Menu path: (Top) → Sub Systems and OS Services → Testing

config TEST_EXTRA_STACKSIZE
    int "Test function extra thread stack size"
    default 2048 if COVERAGE_GCOV
    default 768 if XTENSA
    default 0
    help
      Additional stack for tests on some platform where default is not
      enough.

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)