CONFIG_CPU_CORTEX_M

(No prompt – not directly user assignable.)

Type: bool

Help

This option signifies the use of a CPU of the Cortex-M family.

Direct dependencies

ARM

(Includes any dependencies from if’s and menus.)

Defaults

No defaults. Implicitly defaults to n.

Kconfig definition

At arch/arm/core/Kconfig:15

Included via Kconfig:10Kconfig.zephyr:23arch/Kconfig:16arch/arm/Kconfig:26

Menu path: (top menu) → ARM Options

config CPU_CORTEX_M
    bool
    select CPU_CORTEX if ARM
    select ARCH_HAS_CUSTOM_SWAP_TO_MAIN if ARM
    select HAS_CMSIS if ARM
    select HAS_FLASH_LOAD_OFFSET if ARM
    select HAS_DTS if ARM
    select ARCH_HAS_STACK_PROTECTION if (ARM_CORE_MPU || CPU_CORTEX_M_HAS_SPLIM) && ARM
    select ARCH_HAS_USERSPACE if ARM_CORE_MPU && ARM
    depends on ARM
    help
      This option signifies the use of a CPU of the Cortex-M family.

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