diff --git a/components/net/Kconfig b/components/net/Kconfig index 43473af4099c19a6744510bf67b150c3d2d02148..750f419cc950746fc995a869889e5368b6c40d64 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 8b4d38961eaf3db6baf6cbafb377eb352c95ac8f..f07e9d51f5927a677f126b9c756aa75e15a59514 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 */