arch: arm: cortex_r: Enable Thumb2 instruction set support

The ARMv7-R architecture supports both Thumb-2 (T32) and ARM (A32)
instruction sets.

This commit selects the `ISA_THUMB2` symbol to indicate that the
ARMv7-R architecture supports the Thumb-2 instruction set, which can
be enabled by selecting the `COMPILER_ISA_THUMB2` symbol.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
This commit is contained in:
Stephanos Ioannidis 2020-02-12 15:21:19 +09:00 committed by Ioannis Glaropoulos
commit 7c5db4b755

View file

@ -33,6 +33,7 @@ config ARMV7_R
bool bool
select ATOMIC_OPERATIONS_BUILTIN select ATOMIC_OPERATIONS_BUILTIN
select ISA_ARM select ISA_ARM
select ISA_THUMB2
help help
This option signifies the use of an ARMv7-R processor This option signifies the use of an ARMv7-R processor
implementation. implementation.