CONFIG_ARMV7_M_ARMV8_M_MAINLINE

(No prompt – not directly user assignable.)

Type: bool

Help

This option signifies the use of an ARMv7-M processor implementation, or the use of a backwards-compatible ARMv8-M processor implementation supporting the Main Extension.

Notes: - A Processing Element (PE) with the Main Extension is also referred to as a Mainline Implementation. - ARMv7-M compatibility requires the Main Extension.

From https://developer.arm.com/products/architecture/m-profile: The Main Extension provides backwards compatibility with ARMv7-M.

Direct dependencies

CPU_CORTEX_M && ARM

(Includes any dependencies from ifs and menus.)

Defaults

No defaults. Implicitly defaults to n.

Kconfig definition

At arch/arm/core/cortex_m/Kconfig:162

Included via Kconfig:8Kconfig.zephyr:31arch/Kconfig:12arch/arm/Kconfig:9arch/arm/core/Kconfig:274

Menu path: (Top) → ARM Options

config ARMV7_M_ARMV8_M_MAINLINE
    bool
    select ATOMIC_OPERATIONS_BUILTIN
    select ISA_THUMB2
    select CPU_CORTEX_M_HAS_BASEPRI
    select CPU_CORTEX_M_HAS_VTOR
    select CPU_CORTEX_M_HAS_PROGRAMMABLE_FAULT_PRIOS
    select CPU_CORTEX_M_HAS_SYSTICK
    depends on CPU_CORTEX_M && ARM
    help
      This option signifies the use of an ARMv7-M processor
      implementation, or the use of a backwards-compatible
      ARMv8-M processor implementation supporting the Main
      Extension.

      Notes:
      - A Processing Element (PE) with the Main Extension is also
      referred to as a Mainline Implementation.
      - ARMv7-M compatibility requires the Main Extension.

      From https://developer.arm.com/products/architecture/m-profile:
      The Main Extension provides backwards compatibility
      with ARMv7-M.

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)