1# Copyright (c) 2023 Nordic Semiconductor ASA 2# Copyright (c) 2025 GARDENA GmbH 3# SPDX-License-Identifier: Apache-2.0 4 5config BOARD_NATIVE_SIM 6 bool 7 select POSIX_ARCH_CONSOLE 8 select NATIVE_LIBRARY 9 select NATIVE_SIM_TIMER 10 select 64BIT if BOARD_NATIVE_SIM_NATIVE_64 11 help 12 Native simulator (Single Core) 13 Will produce a console Linux process which can be executed natively. 14 15if BOARD_NATIVE_SIM 16 17comment "Native Simulator (Single Core) options" 18 19config NATIVE_SIM_SLOWDOWN_TO_REAL_TIME 20 bool "Slow down execution to real time" 21 default n if ARCH_POSIX_LIBFUZZER 22 default y if BT_USERCHAN || !TEST 23 help 24 When selected the execution of the process will be slowed down to real time. 25 (if there is a lot of load it may be slower than real time) 26 If deselected, the process will run as fast as possible. 27 Note that this only decouples simulated time from real/wall time. In either 28 case the zephyr kernel and application cannot tell the difference unless they 29 interact with some other driver/device which runs at real time. 30 31config NATIVE_SIM_REBOOT 32 bool "Reboot support" 33 depends on REBOOT 34 help 35 Enables the reboot implementation for the native sim executable. 36 37source "boards/native/common/sdl/Kconfig" 38source "boards/native/common/extra_args/Kconfig" 39 40endif # BOARD_NATIVE_SIM 41