Subversion Repositories svn.mios32

Rev

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

Rev 2405 Rev 2425
Line 1... Line 1...
1
// $Id: uip_task.c 2405 2016-08-15 17:48:28Z tk $
1
// $Id: uip_task.c 2425 2016-11-03 00:44:22Z tk $
2
/*
2
/*
3
 * uIP handler as FreeRTOS task
3
 * uIP handler as FreeRTOS task
4
 *
4
 *
5
 * Framework taken from $MIOS32_PATH/modules/uip/doc/example-mainloop-with-arp.c
5
 * Framework taken from $MIOS32_PATH/modules/uip/doc/example-mainloop-with-arp.c
6
 *
6
 *
Line 101... Line 101...
101
  // initialize OSC client (in distance to OSC server: only once after startup...)
101
  // initialize OSC client (in distance to OSC server: only once after startup...)
102
  OSC_CLIENT_Init(0);
102
  OSC_CLIENT_Init(0);
103
103
104
  xUIPSemaphore = xSemaphoreCreateRecursiveMutex();
104
  xUIPSemaphore = xSemaphoreCreateRecursiveMutex();
105
105
106
  xTaskCreate(UIP_TASK_Handler, (signed portCHAR *)"uIP", UIP_TASK_STACK_SIZE/4, NULL, PRIORITY_TASK_UIP, NULL);
106
  xTaskCreate(UIP_TASK_Handler, "uIP", UIP_TASK_STACK_SIZE/4, NULL, PRIORITY_TASK_UIP, NULL);
107
107
108
  services_running = 0;
108
  services_running = 0;
109
109
110
  udp_monitor_level = UDP_MONITOR_LEVEL_0_OFF;
110
  udp_monitor_level = UDP_MONITOR_LEVEL_0_OFF;
111
111