diff options
author | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2015-12-31 16:09:00 +0200 |
---|---|---|
committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2016-03-03 20:14:50 +0200 |
commit | 7480ee5892b4f4a3ea3748f8cb2c110b5075a08f (patch) | |
tree | 4e3ff9ff307eeb93d9ede25f8785de0c2914001c /esp8266 | |
parent | 70fb9ee99b5238c5f2163d93256226013442fa01 (diff) | |
download | micropython-7480ee5892b4f4a3ea3748f8cb2c110b5075a08f.tar.gz micropython-7480ee5892b4f4a3ea3748f8cb2c110b5075a08f.zip |
esp8266: Enable uhashlib module.
Diffstat (limited to 'esp8266')
-rw-r--r-- | esp8266/Makefile | 2 | ||||
-rw-r--r-- | esp8266/mpconfigport.h | 2 |
2 files changed, 3 insertions, 1 deletions
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) |