summaryrefslogtreecommitdiffstatshomepage
path: root/esp8266
diff options
context:
space:
mode:
authorPaul Sokolovsky <pfalcon@users.sourceforge.net>2016-01-02 17:52:25 +0200
committerPaul Sokolovsky <pfalcon@users.sourceforge.net>2016-03-12 11:45:53 +0700
commite5c39a3a9e895ad802366c8058c39538d1ff5bdc (patch)
tree6ece9bb09d9ca15b1a168b03f8a80c3bee21ea8d /esp8266
parent0779409d0da1633d9abce5ed0a349aea36edb0c4 (diff)
downloadmicropython-e5c39a3a9e895ad802366c8058c39538d1ff5bdc.tar.gz
micropython-e5c39a3a9e895ad802366c8058c39538d1ff5bdc.zip
esp8266: Switch to lwIP built from source.
Using https://github.com/pfalcon/esp-open-lwip project.
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;