\r
/*-----------------------------------------------------------*/\r
\r
-void vStartMessageBufferAMPTasks( void )\r
+void vStartMessageBufferAMPTasks( configSTACK_DEPTH_TYPE xStackSize )\r
{\r
BaseType_t x;\r
\r
xControlMessageBuffer = xMessageBufferCreate( mbaCONTROL_MESSAGE_BUFFER_SIZE );\r
\r
- xTaskCreate( prvCoreATask, /* The function that implements the task. */\r
- "AMPCoreA", /* Human readable name for the task. */\r
- configMINIMAL_STACK_SIZE, /* Stack size (in words!). */\r
- NULL, /* Task parameter is not used. */\r
- tskIDLE_PRIORITY, /* The priority at which the task is created. */\r
- NULL ); /* No use for the task handle. */\r
+ xTaskCreate( prvCoreATask, /* The function that implements the task. */\r
+ "AMPCoreA", /* Human readable name for the task. */\r
+ xStackSize, /* Stack size (in words!). */\r
+ NULL, /* Task parameter is not used. */\r
+ tskIDLE_PRIORITY, /* The priority at which the task is created. */\r
+ NULL ); /* No use for the task handle. */\r
\r
for( x = 0; x < mbaNUMBER_OF_CORE_B_TASKS; x++ )\r
{\r
ulCycleCounters and xCoreBMessageBuffers arrays. */\r
xTaskCreate( prvCoreBTasks,\r
"AMPCoreB1",\r
- configMINIMAL_STACK_SIZE,\r
+ xStackSize,\r
( void * ) x,\r
tskIDLE_PRIORITY + 1,\r
NULL );\r