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 ifs and menus.)

Defaults

No defaults. Implicitly defaults to n.

Kconfig definition

At arch/arm/core/Kconfig:15

Included via Kconfig:10Kconfig.zephyr:34arch/Kconfig:15arch/arm/Kconfig:13

Menu path: (Top) → ARM Options

config CPU_CORTEX_M
    bool
    select CPU_CORTEX
    select ARCH_HAS_CUSTOM_SWAP_TO_MAIN
    select HAS_CMSIS
    select HAS_FLASH_LOAD_OFFSET
    select ARCH_HAS_TRUSTED_EXECUTION if ARM_TRUSTZONE_M
    select ARCH_HAS_STACK_PROTECTION if ARM_MPU || CPU_CORTEX_M_HAS_SPLIM
    select ARCH_HAS_USERSPACE if ARM_MPU
    select ARCH_HAS_NOCACHE_MEMORY_SUPPORT if ARM_MPU && CPU_HAS_ARM_MPU && CPU_CORTEX_M7
    select ARCH_HAS_RAMFUNC_SUPPORT
    select SWAP_NONATOMIC
    depends on ARM
    help
      This option signifies the use of a CPU of the Cortex-M family.

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