:orphan: .. title:: CONFIG_SOC_POSIX .. kconfig:: CONFIG_SOC_POSIX CONFIG_SOC_POSIX ################ *Native POSIX port* *Native POSIX port* Type: ``bool`` Help ==== .. code-block:: none SOC for to the POSIX arch. It emulates a CPU running at an infinitely fast clock. That means the CPU will always run in zero time until completion after each wake reason (e.g. interrupts), before going back to idle. Note that an infinite loop in the code which does not sleep the CPU will cause the process to appear "hung", as simulated time does not advance while the CPU does not sleep. Therefore do not use busy waits while waiting for something to happen (if needed use k_busy_wait()). Note that the interrupt handling is provided by the board. Help ==== .. code-block:: none SOC for to the POSIX arch. It emulates a CPU running at an infinitely fast clock. That means the CPU will always run in zero time until completion after each wake reason (e.g. interrupts), before going back to idle. Note that an infinite loop in the code which does not sleep the CPU will cause the process to appear "hung", as simulated time does not advance while the CPU does not sleep. Therefore do not use busy waits while waiting for something to happen (if needed use k_busy_wait()). Note that the interrupt handling is provided by the board. Direct dependencies =================== \ :ref:` ` || \ :ref:` ` *(Includes any dependencies from ifs and menus.)* Symbols selected by this symbol =============================== - \ :kconfig:`ARCH_POSIX ` - \ :kconfig:`ARCH_POSIX ` Kconfig definitions =================== At ``/posix/inf_clock/Kconfig.soc:3`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:38`` → ``/Kconfig:7`` → ``/kconfig/Kconfig.soc:1`` Menu path: (Top) → SoC/CPU/Configuration Selection .. code-block:: kconfig config SOC_POSIX bool "Native POSIX port" select ARCH_POSIX depends on help SOC for to the POSIX arch. It emulates a CPU running at an infinitely fast clock. That means the CPU will always run in zero time until completion after each wake reason (e.g. interrupts), before going back to idle. Note that an infinite loop in the code which does not sleep the CPU will cause the process to appear "hung", as simulated time does not advance while the CPU does not sleep. Therefore do not use busy waits while waiting for something to happen (if needed use k_busy_wait()). Note that the interrupt handling is provided by the board. ---- At ``/posix/inf_clock/Kconfig.soc:3`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:38`` → ``/Kconfig:9`` Menu path: (Top) → SoC/CPU/Configuration Selection .. code-block:: kconfig config SOC_POSIX bool "Native POSIX port" select ARCH_POSIX depends on help SOC for to the POSIX arch. It emulates a CPU running at an infinitely fast clock. That means the CPU will always run in zero time until completion after each wake reason (e.g. interrupts), before going back to idle. Note that an infinite loop in the code which does not sleep the CPU will cause the process to appear "hung", as simulated time does not advance while the CPU does not sleep. Therefore do not use busy waits while waiting for something to happen (if needed use k_busy_wait()). Note that the interrupt handling is provided by the board. *(The 'depends on' condition includes propagated dependencies from ifs and menus.)*