ipc task: Allow configuration of IPC task stack size

Fixes regression in 3fe0022ef
This commit is contained in:
Angus Gratton
2017-06-30 09:39:54 +10:00
committed by Ivan Grokhotkov
parent 1b3120615b
commit c40bbc5c42
3 changed files with 22 additions and 2 deletions

View File

@@ -80,7 +80,7 @@ void esp_ipc_init()
const char* task_names[2] = {"ipc0", "ipc1"};
for (int i = 0; i < portNUM_PROCESSORS; ++i) {
s_ipc_sem[i] = xSemaphoreCreateBinary();
xTaskCreatePinnedToCore(ipc_task, task_names[i], configMINIMAL_STACK_SIZE, (void*) i,
xTaskCreatePinnedToCore(ipc_task, task_names[i], CONFIG_IPC_TASK_STACK_SIZE, (void*) i,
configMAX_PRIORITIES - 1, &s_ipc_tasks[i], i);
}
}