Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pkg/lwip: fix wrong icmp chksum in IPv4 #19853

Closed
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions pkg/lwip/Makefile.include
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,17 @@ PSEUDOMODULES += lwip_udp
PSEUDOMODULES += lwip_udplite
PSEUDOMODULES += lwip_sock_async

#These flags enable calculating ICMP chksum in LWIP software.
#Without these flags RIOT device respond with ICMP chsum equal to 0, and
#cannot be successfully "pinged" from Windows hosts.
ifeq ($(BOARD),nucleo-f207zg)
CFLAGS +=-DCHECKSUM_GEN_ICMP=0
endif

ifeq ($(BOARD),nucleo-f429zi)
CFLAGS +=-DCHECKSUM_GEN_ICMP=0
endif

ifneq (,$(filter lwip_contrib,$(USEMODULE)))
DIRS += $(RIOTBASE)/pkg/lwip/contrib
endif
Expand Down
Loading