Subversion Repositories svn.mios32

Rev

Rev 1906 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1906 Rev 2425
Line 1... Line 1...
1
// $Id: tasks.c 1906 2014-01-01 20:57:25Z tk $
1
// $Id: tasks.c 2425 2016-11-03 00:44:22Z tk $
2
/*
2
/*
3
 * FreeRTOS Tasks
3
 * FreeRTOS Tasks
4
 * only used by MIOS32 build, as a Cocoa based Task handling is used on MacOS
4
 * only used by MIOS32 build, as a Cocoa based Task handling is used on MacOS
5
 *
5
 *
6
 * ==========================================================================
6
 * ==========================================================================
Line 91... Line 91...
91
  xMIDIINSemaphore = xSemaphoreCreateRecursiveMutex();
91
  xMIDIINSemaphore = xSemaphoreCreateRecursiveMutex();
92
  xMIDIOUTSemaphore = xSemaphoreCreateRecursiveMutex();
92
  xMIDIOUTSemaphore = xSemaphoreCreateRecursiveMutex();
93
  xLCDSemaphore = xSemaphoreCreateRecursiveMutex();
93
  xLCDSemaphore = xSemaphoreCreateRecursiveMutex();
94
94
95
  // start tasks
95
  // start tasks
96
  xTaskCreate(TASK_Period_1mS, (signed portCHAR *)"1mS", configMINIMAL_STACK_SIZE, NULL, PRIORITY_TASK_PERIOD_1mS, NULL);
96
  xTaskCreate(TASK_Period_1mS, "1mS", configMINIMAL_STACK_SIZE, NULL, PRIORITY_TASK_PERIOD_1mS, NULL);
97
  xTaskCreate(TASK_Period_1mS_LP, (signed portCHAR *)"1mS_LP", configMINIMAL_STACK_SIZE, NULL, PRIORITY_TASK_PERIOD_1mS_LP, NULL);
97
  xTaskCreate(TASK_Period_1mS_LP, "1mS_LP", configMINIMAL_STACK_SIZE, NULL, PRIORITY_TASK_PERIOD_1mS_LP, NULL);
98
  xTaskCreate(TASK_Period_1mS_LP2, (signed portCHAR *)"1mS_LP2", configMINIMAL_STACK_SIZE, NULL, PRIORITY_TASK_PERIOD_1mS_LP2, NULL);
98
  xTaskCreate(TASK_Period_1mS_LP2, "1mS_LP2", configMINIMAL_STACK_SIZE, NULL, PRIORITY_TASK_PERIOD_1mS_LP2, NULL);
99
  xTaskCreate(TASK_Period_1mS_SD, (signed portCHAR *)"1mS_SD", configMINIMAL_STACK_SIZE, NULL, PRIORITY_TASK_PERIOD_1mS_SD, NULL);
99
  xTaskCreate(TASK_Period_1mS_SD, "1mS_SD", configMINIMAL_STACK_SIZE, NULL, PRIORITY_TASK_PERIOD_1mS_SD, NULL);
100
100
101
  return 0; // no error
101
  return 0; // no error
102
}
102
}
103
103
104
104