lwip operating system abstraction layer implementation based on CMSIS-RTOS
Dependents: LwIPNetworking NetServicesMin EthernetInterface EthernetInterface_RSF ... more
Revision 14:ba056f7b4b37, committed 2014-11-06
- Comitter:
- mbed_official
- Date:
- Thu Nov 06 11:00:51 2014 +0000
- Parent:
- 13:bca6d04bc6d3
- Child:
- 15:7d4b24b58e04
- Commit message:
- Synchronized with git revision 8724eb616b6e07a3bd111d3022652eb5bbefe9b7
Full URL: https://github.com/mbedmicro/mbed/commit/8724eb616b6e07a3bd111d3022652eb5bbefe9b7/
[RZ/A1H] mbed-RZ first release
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 Fri Aug 15 16:30:36 2014 +0100 +++ b/arch/sys_arch.c Thu Nov 06 11:00:51 2014 +0000 @@ -426,11 +426,13 @@ t->def.pthread = (os_pthread)thread; t->def.tpriority = (osPriority)priority; t->def.stacksize = stacksize; +#ifndef __MBED_CMSIS_RTOS_CA9 t->def.stack_pointer = (unsigned char*)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");