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

  • 2
  • 2
  • 1

Kconfig definitions

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

Included via Kconfig:10Kconfig.zephyr:26

Menu path: (Top)

config MP_NUM_CPUS
    int
    default 2
    depends on BOARD_QEMU_X86_64

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

Included via Kconfig:10Kconfig.zephyr:28

Menu path: (Top)

config MP_NUM_CPUS
    int
    default 2
    depends on SOC_ESP32

At kernel/Kconfig:722

Included via Kconfig:10Kconfig.zephyr:36

Menu path: (Top) → General Kernel Options → SMP Options

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

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