We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1027d38 commit 92d06e4Copy full SHA for 92d06e4
platforms/esp8266/Makefile.build
@@ -162,11 +162,15 @@ MEMORY_FLAGS = -DFS_MAX_OPEN_FILES=5
162
163
.PHONY: all clean
164
165
+ifneq "$(MGOS_ESP8266_LWIP)" "1"
166
# NB: These setting must match ones used during build of the LwIP library during Docker image build.
167
LWIP_CFLAGS = -DTCP_MSS=1460 -DTCP_MSL=5000 -DLWIP_FEATURES=1 -DLWIP_IPV6=0 -DLWIP_COMPAT_SOCKETS=0 \
168
-I$(MGOS_PATH)/include
169
LIBS += -llwip2-1460-feat
170
IPATH += /opt/Espressif/xtensa-lx106-elf/xtensa-lx106-elf/sysroot/usr/include/lwip2
171
+else
172
+LWIP_CFLAGS =
173
+endif
174
175
MGOS_CFLAGS = -DMGOS_APP=\"$(APP)\" \
176
-DMGOS_MAX_NUM_UARTS=2 \
0 commit comments