lwip operating system abstraction layer implementation based on CMSIS-RTOS
Dependents: LwIPNetworking NetServicesMin EthernetInterface EthernetInterface_RSF ... more
Revision 2:75ce99217072, committed 2012-06-22
- Comitter:
- donatien
- Date:
- Fri Jun 22 15:16:26 2012 +0000
- Parent:
- 1:a7366e261ca3
- Child:
- 3:e640ea98ada0
- Commit message:
- Added missing #include directive in cc.h
Changed in this revision
| arch/cc.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/arch/cc.h Fri Jun 22 11:12:52 2012 +0000
+++ b/arch/cc.h Fri Jun 22 15:16:26 2012 +0000
@@ -64,7 +64,7 @@
#define PACK_STRUCT_STRUCT
#define PACK_STRUCT_END
#define PACK_STRUCT_FIELD(fld) fld
- #define ALIGNED(n) __align(n)
+ #define ALIGNED(n) __align(n)
#elif defined (__IAR_SYSTEMS_ICC__)
/* IAR Embedded Workbench tools */
#define PACK_STRUCT_BEGIN __packed
@@ -79,14 +79,17 @@
#define PACK_STRUCT_STRUCT __attribute__ ((__packed__))
#define PACK_STRUCT_END
#define PACK_STRUCT_FIELD(fld) fld
- #define ALIGNED(n) __attribute__((aligned (n)))
- #define ALIGNED(n) __align(n)
+ #define ALIGNED(n) __attribute__((aligned (n)))
+ #define ALIGNED(n) __align(n)
#endif
/* Used with IP headers only */
#define LWIP_CHKSUM_ALGORITHM 1
#ifdef LWIP_DEBUG
+
+#include "stdio.h"
+
void assert_printf(char *msg, int line, char *file);
/* Plaform specific diagnostic output */
mbed official


