mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-08-29 09:46:01 +00:00
Because the only difference between native_posix and native_posix_64 should be 32-bit vs 64-bit compilation, the NATIVE_POSIX menu option is turned into NATIVE_POSIX_32 and the NATIVE_POSIX_64 is added, with both selecting NATIVE_POSIX. This way nothing changes for the existing native_posix target, allowing it to share almost everything with the 64-bit version. Both flavors are made available for CI tests to pick them. This assumes both 32-bit and 64-bit build environments are available. Signed-off-by: Nicolas Pitre <npitre@baylibre.com>
30 lines
851 B
Plaintext
30 lines
851 B
Plaintext
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
config BOARD_NATIVE_POSIX
|
|
bool
|
|
select HAS_DTS
|
|
select NATIVE_POSIX_TIMER
|
|
select NATIVE_POSIX_CONSOLE
|
|
|
|
if BOARD_NATIVE_POSIX
|
|
|
|
comment "Native POSIX options"
|
|
|
|
config NATIVE_POSIX_SLOWDOWN_TO_REAL_TIME
|
|
bool "Slow down execution to real time"
|
|
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.
|
|
|
|
config HAS_SDL
|
|
bool
|
|
help
|
|
This option specifies that the target board has SDL support
|
|
|
|
endif
|