config: SMP only CONFIGURE_MAXIMUM_PROCESSORS

Do not set the CONFIGURE_MAXIMUM_PROCESSORS in uni-processor default
configuration, since this may lead to an oversize workspace.

Update #3459.
This commit is contained in:
Sebastian Huber
2018-06-20 09:57:52 +02:00
parent b0c3ba2f84
commit cc3edaa92d
+3 -1
View File
@@ -103,7 +103,9 @@ static void Init( rtems_task_argument arg )
#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
#define CONFIGURE_MAXIMUM_PROCESSORS 32
#if defined(RTEMS_SMP)
#define CONFIGURE_MAXIMUM_PROCESSORS CPU_MAXIMUM_PROCESSORS
#endif
#define CONFIGURE_DISABLE_BSP_SETTINGS