forked from xuos/xiuos
modify lwip/arch.h
This commit is contained in:
parent
3cec54bf5f
commit
b2022bac12
|
@ -202,6 +202,5 @@ ing and verifying the IP, UDP, TCP and ICMP checksums by hardware:
|
||||||
---------- Lwip Debug options ----------
|
---------- Lwip Debug options ----------
|
||||||
----------------------------------------
|
----------------------------------------
|
||||||
*/
|
*/
|
||||||
#define LWIP_DEBUG 1
|
|
||||||
|
|
||||||
#endif /* LWIP_LWIPOPTS_H */
|
#endif /* LWIP_LWIPOPTS_H */
|
||||||
|
|
|
@ -78,7 +78,7 @@
|
||||||
* systems, this should be defined to something less resource-consuming.
|
* systems, this should be defined to something less resource-consuming.
|
||||||
*/
|
*/
|
||||||
#ifndef LWIP_PLATFORM_DIAG
|
#ifndef LWIP_PLATFORM_DIAG
|
||||||
#define LWIP_PLATFORM_DIAG(x) do {KPrintf x;} while(0)
|
#define LWIP_PLATFORM_DIAG(x) do {printf(x);} while(0)
|
||||||
// #include <stdio.h>
|
// #include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#endif
|
#endif
|
||||||
|
@ -89,7 +89,7 @@
|
||||||
* systems, this should be defined to something less resource-consuming.
|
* systems, this should be defined to something less resource-consuming.
|
||||||
*/
|
*/
|
||||||
#ifndef LWIP_PLATFORM_ASSERT
|
#ifndef LWIP_PLATFORM_ASSERT
|
||||||
#define LWIP_PLATFORM_ASSERT(x) do {KPrintf("Assertion \"%s\" failed at line %d in %s\n", \
|
#define LWIP_PLATFORM_ASSERT(x) do {printf("Assertion \"%s\" failed at line %d in %s\n", \
|
||||||
x, __LINE__, __FILE__); fflush(NULL); abort();} while(0)
|
x, __LINE__, __FILE__); fflush(NULL); abort();} while(0)
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
Loading…
Reference in New Issue