:orphan: .. title:: COMPILER_ISA_THUMB2 .. option:: CONFIG_COMPILER_ISA_THUMB2 *Compile C/C++ functions using Thumb-2 instruction set* Type: ``bool`` Help ==== .. code-block:: none This option configures the compiler to compile all C/C++ functions using the Thumb-2 instruction set. N.B. The scope of this symbol is not necessarily limited to the C and C++ languages; in fact, this symbol refers to all forms of "compiled" code. When an additional natively-compiled language support is added in the future, this symbol shall also specify the Thumb-2 instruction set for that language. Direct dependencies =================== \ :option:`ISA_THUMB2 ` && \ :option:`ARM ` *(Includes any dependencies from ifs and menus.)* Default ======= - y Kconfig definition ================== At ``/arm/core/aarch32/Kconfig:94`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:29`` → ``/Kconfig:12`` → ``/arm/Kconfig:57`` Menu path: (Top) → ARM Options .. code-block:: kconfig config COMPILER_ISA_THUMB2 bool "Compile C/C++ functions using Thumb-2 instruction set" default y depends on ISA_THUMB2 && ARM help This option configures the compiler to compile all C/C++ functions using the Thumb-2 instruction set. N.B. The scope of this symbol is not necessarily limited to the C and C++ languages; in fact, this symbol refers to all forms of "compiled" code. When an additional natively-compiled language support is added in the future, this symbol shall also specify the Thumb-2 instruction set for that language. *(The 'depends on' condition includes propagated dependencies from ifs and menus.)*