lwip operating system abstraction layer implementation based on CMSIS-RTOS
Dependents: LwIPNetworking NetServicesMin EthernetInterface EthernetInterface_RSF ... more
Revision 16:413514db649c, committed 2015-06-17
- Comitter:
- mbed_official
- Date:
- Wed Jun 17 11:15:34 2015 +0100
- Parent:
- 15:7d4b24b58e04
- Child:
- 17:12e78a2462d0
- Commit message:
- Synchronized with git revision c33e334a2273b85d12a0bf31aa2f0f86a205ee4b
Full URL: https://github.com/mbedmicro/mbed/commit/c33e334a2273b85d12a0bf31aa2f0f86a205ee4b/
RZ_A1H - Modify the OS track acquisition method
Changed in this revision
| arch/sys_arch.c | Show annotated file Show diff for this revision Revisions of this file |
--- 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");
mbed official


