:orphan: .. title:: COMPILER_ISA_THUMB2 .. option:: CONFIG_COMPILER_ISA_THUMB2 *Compile C/C++ functions using Thumb-2 instruction set* Type: ``bool`` 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. Direct dependencies =================== \ :option:`ISA_THUMB2 ` && !\ :option:`ARM64 ` && \ :option:`ARM ` *(Includes any dependencies from ifs and menus.)* Default ======= - y Kconfig definition ================== .. highlight:: kconfig At ``arch/arm/core/aarch32/Kconfig:92`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:29`` → ``arch/Kconfig:12`` → ``arch/arm/Kconfig:42`` Menu path: (Top) → ARM Options .. parsed-literal:: config COMPILER_ISA_THUMB2 bool "Compile C/C++ functions using Thumb-2 instruction set" default y depends on \ :option:`ISA_THUMB2 ` && !\ :option:`ARM64 ` && \ :option:`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.)*