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

  • 2

  • 4

  • 2

  • 2

  • 2

  • 2

  • 1

Kconfig definitions

At boards/x86/up_squared/Kconfig.defconfig:11

Included via Kconfig:8Kconfig.zephyr:24

Menu path: (Top)

config MP_NUM_CPUS
    int
    default 2
    depends on BOARD_UP_SQUARED

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 soc/xtensa/intel_apl_adsp/Kconfig.defconfig:63

Included via Kconfig:8Kconfig.zephyr:25

Menu path: (Top)

config MP_NUM_CPUS
    int
    default 2
    depends on SMP && SOC_INTEL_APL_ADSP

At soc/xtensa/intel_s1000/Kconfig.defconfig:28

Included via Kconfig:8Kconfig.zephyr:25

Menu path: (Top)

config MP_NUM_CPUS
    int
    default 2
    depends on SMP && SOC_INTEL_S1000

At kernel/Kconfig:739

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.)