2018-05-04 16:22:46 +02:00
|
|
|
# lwIP's memory management doesn't seem to work on non 32-bit platforms at the
|
|
|
|
# moment.
|
|
|
|
FEATURES_REQUIRED += arch_32bit
|
2020-01-16 09:25:51 +01:00
|
|
|
|
|
|
|
DEFAULT_MODULE += auto_init_lwip
|
2020-02-20 12:51:19 +01:00
|
|
|
|
2020-08-31 15:16:45 +02:00
|
|
|
ifneq (,$(filter sock_async,$(USEMODULE)))
|
|
|
|
USEMODULE += lwip_sock_async
|
|
|
|
endif
|
|
|
|
ifneq (,$(filter sock_ip,$(USEMODULE)))
|
|
|
|
USEMODULE += lwip_sock_ip
|
|
|
|
endif
|
|
|
|
ifneq (,$(filter sock_tcp,$(USEMODULE)))
|
|
|
|
USEMODULE += lwip_sock_tcp
|
|
|
|
endif
|
|
|
|
ifneq (,$(filter sock_udp,$(USEMODULE)))
|
|
|
|
USEMODULE += lwip_sock_udp
|
2020-02-20 12:51:19 +01:00
|
|
|
endif
|
2020-08-03 14:31:46 +02:00
|
|
|
|
|
|
|
ifneq (,$(filter stm32_eth,$(USEMODULE)))
|
|
|
|
ifneq (,$(filter lwip_dhcp_auto,$(USEMODULE)))
|
|
|
|
USEMODULE += stm32_eth_link_up
|
|
|
|
endif
|
|
|
|
endif
|