The latest development version of this page may be more current than this released 2.2.1 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

  • 4

  • 2

  • 2

  • 1

Kconfig definitions

At soc/arc/snps_arc_hsdk/Kconfig.defconfig:36

Included via Kconfig:8Kconfig.zephyr:25

Menu path: (Top)

config MP_NUM_CPUS
    int
    default 4
    depends on SOC_ARC_HSDK

At soc/arc/snps_nsim/Kconfig.defconfig.hs_smp:33

Included via Kconfig:8Kconfig.zephyr:25soc/arc/snps_nsim/Kconfig.defconfig:15

Menu path: (Top)

config MP_NUM_CPUS
    int
    default 2
    depends on SOC_NSIM_HS_SMP && SOC_NSIM

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

Included via Kconfig:8Kconfig.zephyr:25

Menu path: (Top)

config MP_NUM_CPUS
    int
    default 2
    depends on SOC_ESP32

At kernel/Kconfig:717

Included via Kconfig:8Kconfig.zephyr:30

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

config MP_NUM_CPUS
    int "Number of CPUs/cores"
    range 1 4
    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.)