The latest development version of this page may be more current than this released 2.7.5 version.

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.

Symbols selected by this symbol

Symbols implied by this symbol

Symbols that select this symbol

Kconfig definition

At arch/arm/core/aarch32/Kconfig:6

Included via Kconfig:8Kconfig.zephyr:39arch/Kconfig:12arch/arm/Kconfig:57

Menu path: (Top) → ARM Options

config CPU_CORTEX_M
    bool
    select CPU_CORTEX
    select ARCH_HAS_CUSTOM_SWAP_TO_MAIN
    select HAS_CMSIS_CORE
    select HAS_FLASH_LOAD_OFFSET
    select ARCH_HAS_SINGLE_THREAD_SUPPORT
    select ARCH_HAS_THREAD_ABORT
    select ARCH_HAS_TRUSTED_EXECUTION if ARM_TRUSTZONE_M
    select ARCH_HAS_STACK_PROTECTION if (ARM_MPU && !ARMV6_M_ARMV8_M_BASELINE) || 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 ARCH_HAS_NESTED_EXCEPTION_DETECTION
    select SWAP_NONATOMIC
    select ARCH_HAS_EXTRA_EXCEPTION_INFO
    select ARCH_HAS_TIMING_FUNCTIONS if CPU_CORTEX_M_HAS_DWT
    select ARCH_SUPPORTS_ARCH_HW_INIT
    imply XIP
    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.)