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:29arch/Kconfig:15arch/arm/Kconfig:13

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 ARCH_HAS_TRUSTED_EXECUTION if ARM_TRUSTZONE_M && ARM
    select ARCH_HAS_STACK_PROTECTION if (ARM_MPU || CPU_CORTEX_M_HAS_SPLIM) && ARM
    select ARCH_HAS_USERSPACE if ARM_MPU && ARM
    select ARCH_HAS_NOCACHE_MEMORY_SUPPORT if ARM_MPU && CPU_HAS_ARM_MPU && CPU_CORTEX_M7 && ARM
    select ARCH_HAS_RAMFUNC_SUPPORT if ARM
    select SWAP_NONATOMIC if 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.)