The latest development version of this page may be more current than this released 1.14.1 version.
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 if’s and menus.)

Defaults

No defaults. Implicitly defaults to n.

Kconfig definition

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

Included via Kconfig:10Kconfig.zephyr:29arch/Kconfig:15arch/arm/Kconfig:13arch/arm/core/Kconfig:166

Menu path: (top menu) → ARM Options

config ARMV7_M_ARMV8_M_MAINLINE
    bool
    select ATOMIC_OPERATIONS_BUILTIN if CPU_CORTEX_M && ARM
    select ISA_THUMB2 if CPU_CORTEX_M && ARM
    select CPU_CORTEX_M_HAS_BASEPRI if CPU_CORTEX_M && ARM
    select CPU_CORTEX_M_HAS_VTOR if CPU_CORTEX_M && ARM
    select CPU_CORTEX_M_HAS_PROGRAMMABLE_FAULT_PRIOS if CPU_CORTEX_M && ARM
    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.

(Definitions include propagated dependencies, including from if’s and menus.)