-
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 if
BOARD_QEMU_X86_64
- 2 if
SOC_ESP32
- 1
Kconfig definitions¶
At boards/x86_64/qemu_x86_64/Kconfig.defconfig:13
Included via Kconfig:10
→ Kconfig.zephyr:21
Menu path: (top menu)
config MP_NUM_CPUS int default 2 ifBOARD_QEMU_X86_64
depends onBOARD_QEMU_X86_64
At soc/xtensa/esp32/Kconfig.defconfig:18
Included via Kconfig:10
→ Kconfig.zephyr:23
Menu path: (top menu)
config MP_NUM_CPUS int default 2 ifSOC_ESP32
depends onSOC_ESP32
At kernel/Kconfig:724
Included via Kconfig:10
→ Kconfig.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.)