Kconfig Reference
 
  • All Configuration Options
  • Zephyr Architecture Configuration Options
  • Zephyr SoC Configuration Options
  • Zephyr Driver Configuration Options
  • Zephyr Boards Configuration Options
  • Zephyr Kernel Configuration Options
  • Zephyr Library Configuration Options
  • Zephyr Subsystem Configuration Options
  • External Modules Configuration Options
  • Bridle Configuration Options
Kconfig Reference
  • »
  • CONFIG_ARCH_POSIX_RECOMMENDED_STACK_SIZE
  • View page source

CONFIG_ARCH_POSIX_RECOMMENDED_STACK_SIZE¶

(No prompt – not directly user assignable.)

Type: int

Help¶

In bytes, stack size for Zephyr threads meant only for the POSIX
architecture.
(In this architecture only part of the thread status is kept in the Zephyr
thread stack, the real stack is the native underlying pthread stack.
Therefore the allocated stack can be limited to this size)

Direct dependencies¶

ARCH_POSIX

(Includes any dependencies from ifs and menus.)

Defaults¶

  • 40 if 64BIT

  • 24

Kconfig definition¶

At <Zephyr Architecture>/posix/Kconfig:12

Included via Kconfig:8 → Kconfig.zephyr:39 → <Zephyr Architecture>/Kconfig:12

Menu path: (Top) → POSIX (native) Options

config ARCH_POSIX_RECOMMENDED_STACK_SIZE
    int
    default 40 if 64BIT
    default 24
    depends on ARCH_POSIX
    help
      In bytes, stack size for Zephyr threads meant only for the POSIX
      architecture.
      (In this architecture only part of the thread status is kept in the Zephyr
      thread stack, the real stack is the native underlying pthread stack.
      Therefore the allocated stack can be limited to this size)

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


© Copyright 2019-2022 TiaC Systems members and individual contributors. Last updated on Mar 24, 2022.

Kconfig Reference
Bridle
Zephyr Project
Devicetree Bindings