diff --git a/esp8266/Makefile b/esp8266/Makefile index c83640fb78..7d3567e6dc 100644 --- a/esp8266/Makefile +++ b/esp8266/Makefile @@ -34,7 +34,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 -llwip -lpp -lnet80211 -lwpa -lphy -lnet80211 +LIBS = -L$(ESP_SDK)/lib -lmain -ljson -lssl -llwip -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/mpconfigport.h b/esp8266/mpconfigport.h index aa79363fd1..9138ef6dba 100644 --- a/esp8266/mpconfigport.h +++ b/esp8266/mpconfigport.h @@ -37,6 +37,8 @@ #define MICROPY_PY_SYS_STDFILES (1) #define MICROPY_PY_UBINASCII (1) #define MICROPY_PY_UCTYPES (1) +#define MICROPY_PY_UHASHLIB (1) +#define MICROPY_PY_UHASHLIB_SHA1 (1) #define MICROPY_PY_UJSON (1) #define MICROPY_PY_MICROPYTHON_MEM_INFO (1) #define MICROPY_CPYTHON_COMPAT (0)