-
CONFIG_SW_VECTOR_RELAY
¶
Enable Software Vector Relay
Type: bool
Help¶
Add Vector Table relay handler and relay vector table, to relay interrupts based on a vector table pointer. This is only required for Cortex-M0 (or an Armv8-M baseline core) with no hardware vector table relocation mechanisms or for Cortex-M0+ (or an Armv8-M baseline core) with no VTOR and no other hardware relocation table mechanisms.
Direct dependencies¶
ARMV6_M_ARMV8_M_BASELINE
&& !(CPU_CORTEX_M0_HAS_VECTOR_TABLE_REMAP
|| CPU_CORTEX_M_HAS_VTOR
) && (ARMV6_M_ARMV8_M_BASELINE
|| ARMV7_M_ARMV8_M_MAINLINE
) && CPU_CORTEX_M
&& ARM
(Includes any dependencies from if’s and menus.)
Defaults¶
Kconfig definition¶
At arch/arm/core/cortex_m/Kconfig:340
Included via Kconfig:10
→ Kconfig.zephyr:29
→ arch/Kconfig:15
→ arch/arm/Kconfig:13
→ arch/arm/core/Kconfig:166
Menu path: (top menu) → ARM Options → ARM Cortex-M0/M0+/M3/M4/M7/M23/M33 options
config SW_VECTOR_RELAY bool prompt "Enable Software Vector Relay" ifARMV6_M_ARMV8_M_BASELINE
&& !(CPU_CORTEX_M0_HAS_VECTOR_TABLE_REMAP
||CPU_CORTEX_M_HAS_VTOR
) && (ARMV6_M_ARMV8_M_BASELINE
||ARMV7_M_ARMV8_M_MAINLINE
) &&CPU_CORTEX_M
&&ARM
default "y" ifBOOTLOADER_MCUBOOT
&&ARMV6_M_ARMV8_M_BASELINE
&& !(CPU_CORTEX_M0_HAS_VECTOR_TABLE_REMAP
||CPU_CORTEX_M_HAS_VTOR
) && (ARMV6_M_ARMV8_M_BASELINE
||ARMV7_M_ARMV8_M_MAINLINE
) &&CPU_CORTEX_M
&&ARM
depends onARMV6_M_ARMV8_M_BASELINE
&& !(CPU_CORTEX_M0_HAS_VECTOR_TABLE_REMAP
||CPU_CORTEX_M_HAS_VTOR
) && (ARMV6_M_ARMV8_M_BASELINE
||ARMV7_M_ARMV8_M_MAINLINE
) &&CPU_CORTEX_M
&&ARM
help Add Vector Table relay handler and relay vector table, to relay interrupts based on a vector table pointer. This is only required for Cortex-M0 (or an Armv8-M baseline core) with no hardware vector table relocation mechanisms or for Cortex-M0+ (or an Armv8-M baseline core) with no VTOR and no other hardware relocation table mechanisms.
(Definitions include propagated dependencies, including from if’s and menus.)