lwip operating system abstraction layer implementation based on CMSIS-RTOS

Dependents:   LwIPNetworking NetServicesMin EthernetInterface EthernetInterface_RSF ... more

Files at this revision

API Documentation at this revision

Comitter:
mbed_official
Date:
Thu Mar 12 14:31:45 2015 +0000
Parent:
14:ba056f7b4b37
Child:
16:413514db649c
Commit message:
Synchronized with git revision 051854181516992fb498d51f9ee6e70cbad9e083

Full URL: https://github.com/mbedmicro/mbed/commit/051854181516992fb498d51f9ee6e70cbad9e083/

Fix ksdk mcu HAL - stopbit

Changed in this revision

arch/cc.h Show annotated file Show diff for this revision Revisions of this file
arch/sys_arch.c Show annotated file Show diff for this revision Revisions of this file
--- a/arch/cc.h	Thu Nov 06 11:00:51 2014 +0000
+++ b/arch/cc.h	Thu Mar 12 14:31:45 2015 +0000
@@ -71,8 +71,8 @@
     #define PACK_STRUCT_STRUCT
     #define PACK_STRUCT_END
     #define PACK_STRUCT_FIELD(fld) fld
-//    #define PACK_STRUCT_USE_INCLUDES
-    #error NEEDS ALIGNED // FIXME TBD
+    #define IAR_STR(a) #a
+    #define ALIGNED(n) _Pragma(IAR_STR(data_alignment= ## n ##))
 #else 
     /* GCC tools (CodeSourcery) */
     #define PACK_STRUCT_BEGIN
--- a/arch/sys_arch.c	Thu Nov 06 11:00:51 2014 +0000
+++ b/arch/sys_arch.c	Thu Mar 12 14:31:45 2015 +0000
@@ -427,7 +427,7 @@
     t->def.tpriority = (osPriority)priority;
     t->def.stacksize = stacksize;
 #ifndef __MBED_CMSIS_RTOS_CA9
-    t->def.stack_pointer = (unsigned char*)malloc(stacksize);
+    t->def.stack_pointer = (uint32_t*)malloc(stacksize);
     if (t->def.stack_pointer == NULL) {
       error("Error allocating the stack memory");
     }