2019-04-06 21:08:09 +08:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
2019-05-18 04:49:52 +08:00
|
|
|
config BOARD_NATIVE_POSIX
|
|
|
|
bool
|
2023-08-03 10:20:05 +08:00
|
|
|
imply NATIVE_POSIX_TIMER
|
2023-05-23 23:04:00 +08:00
|
|
|
select POSIX_ARCH_CONSOLE
|
2023-05-26 19:23:43 +08:00
|
|
|
select NATIVE_APPLICATION
|
2019-05-18 04:49:52 +08:00
|
|
|
|
2017-12-21 21:14:19 +08:00
|
|
|
if BOARD_NATIVE_POSIX
|
|
|
|
|
2018-01-24 03:34:24 +08:00
|
|
|
comment "Native POSIX options"
|
2017-12-21 21:14:19 +08:00
|
|
|
|
|
|
|
config NATIVE_POSIX_SLOWDOWN_TO_REAL_TIME
|
2018-01-13 07:07:53 +08:00
|
|
|
bool "Slow down execution to real time"
|
2022-08-24 03:24:14 +08:00
|
|
|
default n if ARCH_POSIX_LIBFUZZER
|
2019-05-28 00:41:21 +08:00
|
|
|
default y if BT_USERCHAN || !TEST
|
2017-12-21 21:14:19 +08:00
|
|
|
help
|
|
|
|
When selected the execution of the process will be slowed down to real time.
|
|
|
|
(if there is a lot of load it may be slower than real time)
|
|
|
|
If deselected, the process will run as fast as possible.
|
|
|
|
Note that this only decouples simulated time from real/wall time. In either
|
2018-01-13 07:07:53 +08:00
|
|
|
case the zephyr kernel and application cannot tell the difference unless they
|
2017-12-21 21:14:19 +08:00
|
|
|
interact with some other driver/device which runs at real time.
|
|
|
|
|
2023-06-07 18:27:58 +08:00
|
|
|
source "boards/$(ARCH)/common/sdl/Kconfig"
|
2022-09-19 22:06:09 +08:00
|
|
|
|
|
|
|
endif # BOARD_NATIVE_POSIX
|