2017-10-03 22:31:55 +08:00
|
|
|
# Kconfig - General configuration options
|
|
|
|
|
|
|
|
#
|
|
|
|
# Copyright (c) 2017 Intel Corporation
|
|
|
|
#
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
#
|
|
|
|
|
|
|
|
choice
|
|
|
|
prompt "POSIX Configuration Selection"
|
|
|
|
depends on ARCH_POSIX
|
|
|
|
|
2018-05-08 15:31:48 +08:00
|
|
|
gsource "arch/posix/soc/*/Kconfig.soc"
|
2017-10-03 22:31:55 +08:00
|
|
|
endchoice
|
|
|
|
|
|
|
|
menu "POSIX (native) Options"
|
|
|
|
depends on ARCH_POSIX
|
|
|
|
|
|
|
|
config ARCH
|
|
|
|
default "posix"
|
|
|
|
|
|
|
|
config ARCH_DEFCONFIG
|
|
|
|
string
|
|
|
|
default "arch/posix/defconfig"
|
|
|
|
|
2018-01-26 22:46:47 +08:00
|
|
|
config ARCH_POSIX_RECOMMENDED_STACK_SIZE
|
|
|
|
int
|
|
|
|
depends on ARCH_POSIX
|
|
|
|
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)
|
2017-10-03 22:31:55 +08:00
|
|
|
|
2018-05-08 15:31:48 +08:00
|
|
|
gsource "arch/posix/soc/*/Kconfig"
|
2017-10-03 22:31:55 +08:00
|
|
|
|
|
|
|
endmenu
|