-
CONFIG_ASSEMBLER_ISA_THUMB2
¶
(No prompt – not directly user assignable.)
Type: bool
Help¶
This helper symbol specifies the default target instruction set for the assembler.
When only the Thumb-2 ISA is supported (i.e. on Cortex-M cores), the assembler must use the Thumb-2 instruction set.
When both the Thumb-2 and ARM ISAs are supported (i.e. on Cortex-A and Cortex-R cores), the assembler must use the ARM instruction set because the architecture assembly code makes use of the ARM instructions.
Default¶
y if
ISA_THUMB2
&& !ISA_ARM
Kconfig definition¶
At <Zephyr>/arch/arm/core/aarch32/Kconfig:76
Included via <Zephyr>/Kconfig:8
→ <Zephyr>/Kconfig.zephyr:29
→ <Zephyr>/arch/Kconfig:12
→ <Zephyr>/arch/arm/Kconfig:42
Menu path: (Top) → ARM Options
config ASSEMBLER_ISA_THUMB2 bool default y ifISA_THUMB2
&& !ISA_ARM
depends on !ISA_ARM
&& !ARM64
&&ARM
help This helper symbol specifies the default target instruction set for the assembler. When only the Thumb-2 ISA is supported (i.e. on Cortex-M cores), the assembler must use the Thumb-2 instruction set. When both the Thumb-2 and ARM ISAs are supported (i.e. on Cortex-A and Cortex-R cores), the assembler must use the ARM instruction set because the architecture assembly code makes use of the ARM instructions.
(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)