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

Number of CPUs/cores

Type: int

Help

Number of multiprocessing-capable cores available to the multicpu API and SMP features.

Defaults

Kconfig definitions

At boards/x86_64/qemu_x86_64/Kconfig.defconfig:13

Included via Kconfig:10Kconfig.zephyr:21

Menu path: (top menu)

config MP_NUM_CPUS
    int
    default 2 if BOARD_QEMU_X86_64
    depends on BOARD_QEMU_X86_64

At soc/xtensa/esp32/Kconfig.defconfig:18

Included via Kconfig:10Kconfig.zephyr:23

Menu path: (top menu)

config MP_NUM_CPUS
    int
    default 2 if SOC_ESP32
    depends on SOC_ESP32

At kernel/Kconfig:712

Included via Kconfig:10Kconfig.zephyr:31

Menu path: (top menu) → General Kernel Options → SMP Options

config MP_NUM_CPUS
    int
    prompt "Number of CPUs/cores"
    default 1
    help
      Number of multiprocessing-capable cores available to the
      multicpu API and SMP features.

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