2017-10-03 22:31:55 +08:00
|
|
|
|
|
|
|
|
|
|
|
config SOC_POSIX
|
|
|
|
bool "Native POSIX port"
|
|
|
|
help
|
2018-01-13 07:07:53 +08:00
|
|
|
SOC for to the POSIX arch. It emulates a CPU running at an infinitely fast
|
2017-10-03 22:31:55 +08:00
|
|
|
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
|
2018-01-13 07:07:53 +08:00
|
|
|
to appear "hung", as simulated time does not advance while the CPU does not
|
2017-10-03 22:31:55 +08:00
|
|
|
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.
|