1
0
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:
benpicco 2022-03-10 08:34:29 +01:00 committed by GitHub
commit ddf8f67e54
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 1 additions and 3 deletions

View File

@ -42,6 +42,7 @@ endif
ifneq (,$(filter lwip_sock_%,$(USEMODULE)))
USEMODULE += lwip_sock
CFLAGS += -DLWIP_SO_RCVTIMEO
endif
ifneq (,$(filter lwip_sock_ip,$(USEMODULE)))

View File

@ -31,6 +31,5 @@ USEMODULE += sock_ip
DISABLE_MODULE += auto_init_lwip
CFLAGS += -DSO_REUSE
CFLAGS += -DLWIP_SO_RCVTIMEO
include $(RIOTBASE)/Makefile.include

View File

@ -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

View File

@ -31,6 +31,5 @@ USEMODULE += sock_udp
DISABLE_MODULE += auto_init_lwip
CFLAGS += -DSO_REUSE
CFLAGS += -DLWIP_SO_RCVTIMEO
include $(RIOTBASE)/Makefile.include