1# SPDX-License-Identifier: Apache-2.0
2# Copyright (c) 2023 Nordic Semiconductor ASA
3
4config SOC_POSIX
5	bool
6	help
7	  SOC for to the POSIX arch. It emulates a CPU running at an infinitely fast
8	  clock. That means the CPU will always run in zero time until completion after
9	  each wake reason (e.g. interrupts), before going back to idle. Note that an
10	  infinite loop in the code which does not sleep the CPU will cause the process
11	  to appear "hung", as simulated time does not advance while the CPU does not
12	  sleep. Therefore do not use busy waits while waiting for something to happen
13	  (if needed use k_busy_wait()).
14	  Note that the interrupt handling is provided by the board.
15
16config SOC
17	default "native" if SOC_POSIX
18