:orphan: .. title:: ARCH_HAS_CUSTOM_SWAP_TO_MAIN .. option:: CONFIG_ARCH_HAS_CUSTOM_SWAP_TO_MAIN *(No prompt -- not directly user assignable.)* Type: ``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. Defaults ======== No defaults. Implicitly defaults to ``n``. Symbols that select this symbol =============================== - \ :option:`CPU_CORTEX_M ` - \ :option:`ARCH_POSIX ` Kconfig definition ================== .. highlight:: kconfig At ``kernel/Kconfig:520`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:30`` Menu path: (Top) → General Kernel Options .. parsed-literal:: 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.)*