summaryrefslogtreecommitdiffstatshomepage
path: root/esp8266
diff options
context:
space:
mode:
Diffstat (limited to 'esp8266')
-rw-r--r--esp8266/Makefile2
-rw-r--r--esp8266/modesp.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/esp8266/Makefile b/esp8266/Makefile
index 04b620be5b..e6f04d3800 100644
--- a/esp8266/Makefile
+++ b/esp8266/Makefile
@@ -35,7 +35,7 @@ CFLAGS = $(INC) -Wall -Wpointer-arith -Werror -ansi -std=gnu99 -nostdlib -DUART_
$(CFLAGS_XTENSA) $(COPT) $(CFLAGS_EXTRA)
LDFLAGS = -nostdlib -T esp8266.ld -Map=$(@:.elf=.map) --cref
-LIBS = -L$(ESP_SDK)/lib -lmain -ljson -lssl -llwip -lpp -lnet80211 -lwpa -lphy -lnet80211
+LIBS = -L$(ESP_SDK)/lib -lmain -ljson -lssl -llwip_open -lpp -lnet80211 -lwpa -lphy -lnet80211
LIBGCC_FILE_NAME = $(shell $(CC) $(CFLAGS) -print-libgcc-file-name)
LIBS += -L$(dir $(LIBGCC_FILE_NAME)) -lgcc
diff --git a/esp8266/modesp.c b/esp8266/modesp.c
index 2b5c119de3..73cfc4275c 100644
--- a/esp8266/modesp.c
+++ b/esp8266/modesp.c
@@ -40,7 +40,7 @@
#include "spi_flash.h"
#include "utils.h"
-#define MODESP_ESPCONN (1)
+#define MODESP_ESPCONN (0)
#if MODESP_ESPCONN
STATIC const mp_obj_type_t esp_socket_type;