zephyr/arch/posix/Kconfig

24 lines
586 B
Plaintext
Raw Normal View History

# General configuration options
# Copyright (c) 2017 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
menu "POSIX (native) Options"
depends on ARCH_POSIX
config ARCH
default "posix"
config ARCH_POSIX_RECOMMENDED_STACK_SIZE
int
default 40 if 64BIT
default 24
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)
endmenu