-
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)
Kconfig definition¶
At <Zephyr>/arch/posix/Kconfig:12
Included via <Zephyr>/Kconfig:8
→ <Zephyr>/Kconfig.zephyr:29
→ <Zephyr>/arch/Kconfig:12
Menu path: (Top) → POSIX (native) Options
config ARCH_POSIX_RECOMMENDED_STACK_SIZE int default 40 if64BIT
default 24 depends onARCH_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.)