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 && !ARM64 && ARM

(Includes any dependencies from ifs and menus.)

Defaults

No defaults. Implicitly defaults to n.

Kconfig definition

At <Zephyr>/arch/arm/core/aarch32/cortex_m/Kconfig:181

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:29<Zephyr>/arch/Kconfig:12<Zephyr>/arch/arm/Kconfig:42<Zephyr>/arch/arm/core/aarch32/Kconfig:237

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 && !ARM64 && 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.)