lwip operating system abstraction layer implementation based on CMSIS-RTOS

Dependents:   LwIPNetworking NetServicesMin EthernetInterface EthernetInterface_RSF ... more

Revision:
16:413514db649c
Parent:
15:7d4b24b58e04
Child:
17:12e78a2462d0
--- a/arch/sys_arch.c	Thu Mar 12 14:31:45 2015 +0000
+++ b/arch/sys_arch.c	Wed Jun 17 11:15:34 2015 +0100
@@ -426,13 +426,11 @@
     t->def.pthread = (os_pthread)thread;
     t->def.tpriority = (osPriority)priority;
     t->def.stacksize = stacksize;
-#ifndef __MBED_CMSIS_RTOS_CA9
     t->def.stack_pointer = (uint32_t*)malloc(stacksize);
     if (t->def.stack_pointer == NULL) {
       error("Error allocating the stack memory");
     }
 #endif
-#endif
     t->id = osThreadCreate(&t->def, arg);
     if (t->id == NULL)
         error("sys_thread_new create error\n");