File tree Expand file tree Collapse file tree 3 files changed +6
-2
lines changed Expand file tree Collapse file tree 3 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ INC_CYW43 := \
65
65
-isystem sdk/src/rp2_common/pico_cyw43_arch/include/ \
66
66
-isystem sdk/src/rp2_common/pico_lwip/include/ \
67
67
68
- CFLAGS_CYW43 := -DCYW43_LWIP=1 -DPICO_CYW43_ARCH_THREADSAFE_BACKGROUND=1 -DCYW43_USE_SPI -DIGNORE_GPIO25 -DIGNORE_GPIO23 -DIGNORE_GPIO24 -DCYW43_LOGIC_DEBUG=0
68
+ CFLAGS_CYW43 := -DCYW43_LWIP=1 -DPICO_CYW43_ARCH_THREADSAFE_BACKGROUND=1 -DCYW43_USE_SPI -DIGNORE_GPIO25 -DIGNORE_GPIO23 -DIGNORE_GPIO24 -DCYW43_LOGIC_DEBUG=0 -DCYW43_NETUTILS=1
69
69
SRC_SDK_CYW43 := \
70
70
src/common/pico_sync/sem.c \
71
71
src/rp2_common/cyw43_driver/cyw43_bus_pio_spi.c \
@@ -76,6 +76,8 @@ SRC_SDK_CYW43 := \
76
76
77
77
SRC_LWIP := \
78
78
shared/netutils/netutils.c \
79
+ shared/netutils/trace.c \
80
+ shared/netutils/dhcpserver.c \
79
81
$(wildcard lib/lwip/src/core/* .c) \
80
82
$(wildcard lib/lwip/src/core/ipv4/* .c) \
81
83
lib/lwip/src/netif/ethernet.c \
Original file line number Diff line number Diff line change 33
33
#include "py/mperrno.h"
34
34
#include "py/mphal.h"
35
35
36
- #if MICROPY_PY_LWIP
36
+ #if LWIP_UDP
37
37
38
38
#include "shared/netutils/dhcpserver.h"
39
39
#include "lwip/udp.h"
Original file line number Diff line number Diff line change 33
33
#define NETUTILS_TRACE_PAYLOAD (0x0002)
34
34
#define NETUTILS_TRACE_NEWLINE (0x0004)
35
35
36
+ #include "py/runtime.h"
37
+
36
38
typedef enum _netutils_endian_t {
37
39
NETUTILS_LITTLE ,
38
40
NETUTILS_BIG ,
You can’t perform that action at this time.
0 commit comments