mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
Merge pull request #17779 from benpicco/LWIP_SO_RCVTIMEO
lwip: enable LWIP_SO_RCVTIMEO if sock layer is used
This commit is contained in:
commit
ddf8f67e54
@ -42,6 +42,7 @@ endif
|
||||
|
||||
ifneq (,$(filter lwip_sock_%,$(USEMODULE)))
|
||||
USEMODULE += lwip_sock
|
||||
CFLAGS += -DLWIP_SO_RCVTIMEO
|
||||
endif
|
||||
|
||||
ifneq (,$(filter lwip_sock_ip,$(USEMODULE)))
|
||||
|
@ -31,6 +31,5 @@ USEMODULE += sock_ip
|
||||
DISABLE_MODULE += auto_init_lwip
|
||||
|
||||
CFLAGS += -DSO_REUSE
|
||||
CFLAGS += -DLWIP_SO_RCVTIMEO
|
||||
|
||||
include $(RIOTBASE)/Makefile.include
|
||||
|
@ -25,7 +25,6 @@ USEMODULE += sock_tcp
|
||||
DISABLE_MODULE += auto_init_lwip
|
||||
|
||||
CFLAGS += -DSO_REUSE
|
||||
CFLAGS += -DLWIP_SO_RCVTIMEO
|
||||
CFLAGS += -DLWIP_SOCK_TCP_ACCEPT_TIMEOUT=500
|
||||
CFLAGS += -DLWIP_NETIF_LOOPBACK=1
|
||||
CFLAGS += -DLWIP_HAVE_LOOPIF=1
|
||||
|
@ -31,6 +31,5 @@ USEMODULE += sock_udp
|
||||
DISABLE_MODULE += auto_init_lwip
|
||||
|
||||
CFLAGS += -DSO_REUSE
|
||||
CFLAGS += -DLWIP_SO_RCVTIMEO
|
||||
|
||||
include $(RIOTBASE)/Makefile.include
|
||||
|
Loading…
Reference in New Issue
Block a user