Skip to content

Commit

Permalink
Fix Failed to initialize Udp transport: LwIP Error
Browse files Browse the repository at this point in the history
  • Loading branch information
hanksuu committed Jul 1, 2021
1 parent e987b41 commit 09dbdc4
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions component/common/api/network/include/lwipopts.h
Original file line number Diff line number Diff line change
Expand Up @@ -365,10 +365,16 @@ Certain platform allows computing and verifying the IP, UDP, TCP and ICMP checks
/* Added by Realtek end */

/* Extra options for lwip_v2.0.2 which should not affect lwip_v1.4.1 */
#define LWIP_TCPIP_CORE_LOCKING 0
#define LWIP_TCPIP_CORE_LOCKING 1
#define LWIP_COMPAT_MUTEX_ALLOWED 1
#define LWIP_IPV6_ND 0
#define LWIP_IPV6_SCOPES 0
#define LWIP_PBUF_FROM_CUSTOM_POOLS 0
#define ERRNO 1
#define LWIP_TCPIP_TIMEOUT 1
#define LWIP_SO_RCVTIMEO 1
#define LWIP_SOCKET_SET_ERRNO 0
#define LWIP_SO_SNDTIMEO 1
#define LWIP_SOCKET_SET_ERRNO 1
#undef LWIP_DEBUG
#define LWIP_RAW 1
#define LWIP_AUTOIP 1
Expand Down

0 comments on commit 09dbdc4

Please sign in to comment.