esp8266: Switch to lwIP built from source.
Using https://github.com/pfalcon/esp-open-lwip project.
This commit is contained in:
parent
0779409d0d
commit
e5c39a3a9e
@ -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
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user