Skip to content

Commit

Permalink
esp8266: Enable uhashlib module.
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul Sokolovsky committed Mar 3, 2016
1 parent 70fb9ee commit 7480ee5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion esp8266/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions esp8266/mpconfigport.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 7480ee5

Please sign in to comment.