Review of last PR: Setting CONFIG_SMP_NCPUS=1 should only be permitted in a debug configuration.

This commit is contained in:
Gregory Nutt 2017-03-22 06:29:38 -06:00
parent 8201ebee39
commit f5a957158d

View File

@ -263,11 +263,17 @@ if SMP
config SMP_NCPUS
int "Number of CPUs"
default 4
range 1 32
range 1 32 if DEBUG_FEATURES
range 2 32 if !DEBUG_FEATURES
---help---
This value identifies the number of CPUs supported by the processor
that will be used for SMP.
If CONFIG_DEBUG_FEATURES is enbled, then the value one is permitted
for CONFIG_SMP_NCPUS. This is not normally a valid setting for an
SMP configuration. However, running the SMP logic in a single CPU
configuration is useful during certain testing.
config SMP_IDLETHREAD_STACKSIZE
int "CPU IDLE stack size"
default 2048