1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

sys/net: Add ipv4 pseudomodule

Enabled when lwIP uses IPv4.
This commit is contained in:
Erik Ekman 2021-10-08 01:45:25 +02:00
parent ff7bf09313
commit 9844953da4
2 changed files with 5 additions and 0 deletions

View File

@ -75,6 +75,7 @@ PSEUDOMODULES += heap_cmd
PSEUDOMODULES += i2c_scan
PSEUDOMODULES += ieee802154_security
PSEUDOMODULES += ieee802154_submac
PSEUDOMODULES += ipv4
PSEUDOMODULES += ipv6
PSEUDOMODULES += l2filter_blacklist
PSEUDOMODULES += l2filter_whitelist

View File

@ -27,6 +27,10 @@ ifneq (,$(filter lwip_ipv6_autoconfig lwip_ipv6_mld,$(USEMODULE)))
USEMODULE += lwip_ipv6
endif
ifneq (,$(filter lwip_ipv4,$(USEMODULE)))
USEMODULE += ipv4
endif
ifneq (,$(filter lwip_ipv6,$(USEMODULE)))
USEMODULE += ipv6
USEMODULE += random