esp8266: Switch to lwIP built from source.

Using https://github.com/pfalcon/esp-open-lwip project.
This commit is contained in:
Paul Sokolovsky 2016-01-02 17:52:25 +02:00
parent 0779409d0d
commit e5c39a3a9e
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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;