2017-10-03 22:31:55 +08:00
|
|
|
# Kconfig - 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"
|
|
|
|
|
2018-01-26 22:46:47 +08:00
|
|
|
config ARCH_POSIX_RECOMMENDED_STACK_SIZE
|
|
|
|
int
|
|
|
|
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
|
|
|
|
2019-02-16 00:37:44 +08:00
|
|
|
config ARCH_POSIX_STOP_ON_FATAL_ERROR
|
|
|
|
bool "Terminate execution on fatal errors"
|
|
|
|
depends on ARCH_POSIX
|
|
|
|
help
|
|
|
|
If set, when a fatal error occurs, the execution will stop immediately with
|
2019-06-19 01:38:23 +08:00
|
|
|
an error. If not set, the default Zephyr behavior will be followed:
|
2019-02-16 00:37:44 +08:00
|
|
|
terminate only if the fault was triggered in an ISR or essential thread,
|
|
|
|
otherwise abort the current thread and attempt to continue.
|
|
|
|
Enabling this option may simplify locating and debugging faults
|
|
|
|
|
2017-10-03 22:31:55 +08:00
|
|
|
endmenu
|