From 9e00ac89d5062414b618b3e961acda04ddc8a30d Mon Sep 17 00:00:00 2001 From: Josef Gajdusek Date: Sat, 2 May 2015 21:24:25 +0200 Subject: esp8266: Add esp.socket class, with ESP-style socket functionality. * UDP currently not supported * As there is no way (that I know of) the espconn_regist_connectcb() callback can recognize on which socket has the connection arrived, only one listening function at a time is supported --- esp8266/Makefile | 3 +++ 1 file changed, 3 insertions(+) (limited to 'esp8266/Makefile') diff --git a/esp8266/Makefile b/esp8266/Makefile index 1909e0d76..389e86edf 100644 --- a/esp8266/Makefile +++ b/esp8266/Makefile @@ -14,6 +14,7 @@ INC = -I. INC += -I.. INC += -I../stmhal INC += -I../lib/mp-readline +INC += -I../lib/netutils INC += -I$(BUILD) INC += -I$(ESP_SDK)/include @@ -49,6 +50,7 @@ SRC_C = \ modpyb.c \ modpybpin.c \ modesp.c \ + utils.c \ STM_SRC_C = $(addprefix stmhal/,\ printf.c \ @@ -59,6 +61,7 @@ STM_SRC_C = $(addprefix stmhal/,\ LIB_SRC_C = $(addprefix lib/,\ libc/string0.c \ mp-readline/readline.c \ + netutils/netutils.c \ ) SRC_S = \ -- cgit v1.2.3