Skip to content

Commit 664dd7b

Browse files
committed
extmod: Update make and cmake scripts to work with latest lwIP.
Signed-off-by: Damien George <[email protected]>
1 parent a89ac9e commit 664dd7b

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

extmod/extmod.cmake

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -275,11 +275,14 @@ if(MICROPY_PY_LWIP)
275275
target_sources(micropy_lib_lwip INTERFACE
276276
${MICROPY_DIR}/shared/netutils/netutils.c
277277
${MICROPY_LIB_LWIP_DIR}/apps/mdns/mdns.c
278+
${MICROPY_LIB_LWIP_DIR}/apps/mdns/mdns_domain.c
279+
${MICROPY_LIB_LWIP_DIR}/apps/mdns/mdns_out.c
278280
${MICROPY_LIB_LWIP_DIR}/core/def.c
279281
${MICROPY_LIB_LWIP_DIR}/core/dns.c
280282
${MICROPY_LIB_LWIP_DIR}/core/inet_chksum.c
281283
${MICROPY_LIB_LWIP_DIR}/core/init.c
282284
${MICROPY_LIB_LWIP_DIR}/core/ip.c
285+
${MICROPY_LIB_LWIP_DIR}/core/ipv4/acd.c
283286
${MICROPY_LIB_LWIP_DIR}/core/ipv4/autoip.c
284287
${MICROPY_LIB_LWIP_DIR}/core/ipv4/dhcp.c
285288
${MICROPY_LIB_LWIP_DIR}/core/ipv4/etharp.c

extmod/extmod.mk

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -332,6 +332,8 @@ $(BUILD)/$(LWIP_DIR)/core/ipv4/dhcp.o: CFLAGS += -Wno-address
332332
SRC_THIRDPARTY_C += shared/netutils/netutils.c
333333
SRC_THIRDPARTY_C += $(addprefix $(LWIP_DIR)/,\
334334
apps/mdns/mdns.c \
335+
apps/mdns/mdns_domain.c \
336+
apps/mdns/mdns_out.c \
335337
core/def.c \
336338
core/dns.c \
337339
core/inet_chksum.c \
@@ -349,6 +351,7 @@ SRC_THIRDPARTY_C += $(addprefix $(LWIP_DIR)/,\
349351
core/tcp_out.c \
350352
core/timeouts.c \
351353
core/udp.c \
354+
core/ipv4/acd.c \
352355
core/ipv4/autoip.c \
353356
core/ipv4/dhcp.c \
354357
core/ipv4/etharp.c \

0 commit comments

Comments
 (0)