Skip to content

Commit 1879db7

Browse files
peterzugerdpgeorge
authored andcommitted
extmod/extmod.mk: Allow enabling lwip loopback support.
Enabling MICROPY_PY_LWIP_LOOPBACK via make will turn on loopback support. Signed-off-by: Peter Züger <zueger.peter@icloud.com>
1 parent 37c1c5f commit 1879db7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

extmod/extmod.mk

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -267,6 +267,9 @@ SRC_THIRDPARTY_C += $(addprefix $(LWIP_DIR)/,\
267267
core/ipv6/nd6.c \
268268
netif/ethernet.c \
269269
)
270+
ifeq ($(MICROPY_PY_LWIP_LOOPBACK),1)
271+
CFLAGS_EXTMOD += -DLWIP_NETIF_LOOPBACK=1
272+
endif
270273
ifeq ($(MICROPY_PY_LWIP_SLIP),1)
271274
CFLAGS_EXTMOD += -DMICROPY_PY_LWIP_SLIP=1
272275
SRC_THIRDPARTY_C += $(LWIP_DIR)/netif/slipif.c

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy