:orphan: .. title:: CONFIG_ARCH_HAS_CUSTOM_SWAP_TO_MAIN .. kconfig:: CONFIG_ARCH_HAS_CUSTOM_SWAP_TO_MAIN CONFIG_ARCH_HAS_CUSTOM_SWAP_TO_MAIN ################################### *(No prompt -- not directly user assignable.)* Type: ``bool`` Help ==== .. code-block:: none It's possible that an architecture port cannot use _Swap() to swap to the _main() thread, but instead must do something custom. It must enable this option in that case. Defaults ======== No defaults. Implicitly defaults to ``n``. Symbols that select this symbol =============================== - \ :kconfig:`CPU_CORTEX_M ` - \ :kconfig:`ARCH_POSIX ` Kconfig definition ================== At ``/Kconfig:535`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:40`` Menu path: (Top) → General Kernel Options .. code-block:: kconfig config ARCH_HAS_CUSTOM_SWAP_TO_MAIN bool help It's possible that an architecture port cannot use _Swap() to swap to the _main() thread, but instead must do something custom. It must enable this option in that case. *(The 'depends on' condition includes propagated dependencies from ifs and menus.)*