There was an error while loading. Please reload this page.
1 parent 1879db7 commit a23dbdcCopy full SHA for a23dbdc
ports/stm32/lwip_inc/lwipopts.h
@@ -24,6 +24,9 @@
24
#define LWIP_NETIF_HOSTNAME 1
25
#define LWIP_NETIF_EXT_STATUS_CALLBACK 1
26
27
+#define LWIP_LOOPIF_MULTICAST 1
28
+#define LWIP_LOOPBACK_MAX_PBUFS 8
29
+
30
#define LWIP_IPV6 0
31
#define LWIP_DHCP 1
32
#define LWIP_DHCP_CHECK_LINK_UP 1
ports/stm32/mpnetworkport.c
@@ -72,6 +72,10 @@ STATIC void pyb_lwip_poll(void) {
72
73
// Run the lwIP internal updates
74
sys_check_timeouts();
75
76
+ #if LWIP_NETIF_LOOPBACK
77
+ netif_poll_all();
78
+ #endif
79
}
80
81
void mod_network_lwip_poll_wrapper(uint32_t ticks_ms) {
0 commit comments