1# Copyright (c) 2017 Oticon A/S
2# SPDX-License-Identifier: Apache-2.0
3
4config BOARD_NATIVE_POSIX
5	bool
6	imply NATIVE_POSIX_TIMER
7	select POSIX_ARCH_CONSOLE
8	select NATIVE_APPLICATION
9	select 64BIT if BOARD_NATIVE_POSIX_NATIVE_64
10	help
11	  Native POSIX
12	  Will produce a console Linux process which can be executed natively.
13	  It provides some minimal needed models:
14	  An interrupt controller, timer (system tick), and redirects kernel prints to
15	  stdout.
16
17if BOARD_NATIVE_POSIX
18
19comment "Native POSIX options"
20
21config NATIVE_POSIX_SLOWDOWN_TO_REAL_TIME
22	bool "Slow down execution to real time"
23	default n if ARCH_POSIX_LIBFUZZER
24	default y if BT_USERCHAN || !TEST
25	help
26	  When selected the execution of the process will be slowed down to real time.
27	  (if there is a lot of load it may be slower than real time)
28	  If deselected, the process will run as fast as possible.
29	  Note that this only decouples simulated time from real/wall time. In either
30	  case the zephyr kernel and application cannot tell the difference unless they
31	  interact with some other driver/device which runs at real time.
32
33source "boards/native/common/sdl/Kconfig"
34
35endif # BOARD_NATIVE_POSIX
36