12Oct2012MbedLab

Dependents:   Lab3_VoiceMeter

Fork of EthernetNetIf by Donatien Garnier

Revision:
5:bc7df6da7589
Parent:
0:422060928e37
Child:
6:22ce63eddd2b
diff -r 9cec8b1dcf09 -r bc7df6da7589 LPC1768/lwip/arch/cc.h
--- a/LPC1768/lwip/arch/cc.h	Fri Jul 09 14:34:26 2010 +0000
+++ b/LPC1768/lwip/arch/cc.h	Thu Aug 05 15:09:22 2010 +0000
@@ -29,9 +29,8 @@
 #define FALSE 0
 #endif
 
-#ifndef DBG
-//#error
-#endif
+#include <stdlib.h>
+#define LWIP_RAND rand
 
 #define LWIP_PLATFORM_DIAG(x) DBG x
 #define LWIP_PLATFORM_ASSERT(x) DBG(x)
@@ -57,5 +56,7 @@
 #define PACK_STRUCT_BEGIN __packed
 #define PACK_STRUCT_END
 
+#define LWIP_CHKSUM_ALGORITHM 3
+
 
 #endif /* __LWIP_ARCH_CC_H__ */