To use this functionality one must now use the native_posix//64 (variant) version. The old hwmv1 compatible name for the board was left provisionally while all tests in tree were ported. That being now done, this old name can be removed. After this change one cannot build anymore targeting native_posix_64, but must instead build targeting native_posix/[native]/64. For twister tests the old name is already not valid. Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
36 lines
1.1 KiB
Plaintext
36 lines
1.1 KiB
Plaintext
# Copyright (c) 2017 Oticon A/S
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
config BOARD_NATIVE_POSIX
|
|
bool
|
|
imply NATIVE_POSIX_TIMER
|
|
select POSIX_ARCH_CONSOLE
|
|
select NATIVE_APPLICATION
|
|
select 64BIT if BOARD_NATIVE_POSIX_NATIVE_64
|
|
help
|
|
Native POSIX
|
|
Will produce a console Linux process which can be executed natively.
|
|
It provides some minimal needed models:
|
|
An interrupt controller, timer (system tick), and redirects kernel prints to
|
|
stdout.
|
|
|
|
if BOARD_NATIVE_POSIX
|
|
|
|
comment "Native POSIX options"
|
|
|
|
config NATIVE_POSIX_SLOWDOWN_TO_REAL_TIME
|
|
bool "Slow down execution to real time"
|
|
default n if ARCH_POSIX_LIBFUZZER
|
|
default y if BT_USERCHAN || !TEST
|
|
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
|
|
case the zephyr kernel and application cannot tell the difference unless they
|
|
interact with some other driver/device which runs at real time.
|
|
|
|
source "boards/native/common/sdl/Kconfig"
|
|
|
|
endif # BOARD_NATIVE_POSIX
|