summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xcomponents/net/Kconfig2
-rw-r--r--components/net/lwip-1.4.1/src/lwipopts.h3
2 files changed, 4 insertions, 1 deletions
diff --git a/components/net/Kconfig b/components/net/Kconfig
index 43473af409..750f419cc9 100755
--- a/components/net/Kconfig
+++ b/components/net/Kconfig
@@ -3,7 +3,7 @@ menu "Network stack"
menu "light weight TCP/IP stack"
config RT_USING_LWIP
bool "Enable lwIP stack"
- select RT_USING_DEVICE
+ select RT_USING_DEVICE
default n
if RT_USING_LWIP
diff --git a/components/net/lwip-1.4.1/src/lwipopts.h b/components/net/lwip-1.4.1/src/lwipopts.h
index 8b4d38961e..f07e9d51f5 100644
--- a/components/net/lwip-1.4.1/src/lwipopts.h
+++ b/components/net/lwip-1.4.1/src/lwipopts.h
@@ -36,7 +36,10 @@
#define LWIP_HAVE_LOOPIF 0
#define LWIP_PLATFORM_BYTESWAP 0
+
+#ifndef BYTE_ORDER
#define BYTE_ORDER LITTLE_ENDIAN
+#endif
/* #define RT_LWIP_DEBUG */