esp8266: Enable uhashlib module.
This commit is contained in:
parent
70fb9ee99b
commit
7480ee5892
|
@ -34,7 +34,7 @@ CFLAGS = $(INC) -Wall -Wpointer-arith -Werror -ansi -std=gnu99 -nostdlib -DUART_
|
||||||
$(CFLAGS_XTENSA) $(COPT) $(CFLAGS_EXTRA)
|
$(CFLAGS_XTENSA) $(COPT) $(CFLAGS_EXTRA)
|
||||||
|
|
||||||
LDFLAGS = -nostdlib -T esp8266.ld -Map=$(@:.elf=.map) --cref
|
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)
|
LIBGCC_FILE_NAME = $(shell $(CC) $(CFLAGS) -print-libgcc-file-name)
|
||||||
LIBS += -L$(dir $(LIBGCC_FILE_NAME)) -lgcc
|
LIBS += -L$(dir $(LIBGCC_FILE_NAME)) -lgcc
|
||||||
|
|
|
@ -37,6 +37,8 @@
|
||||||
#define MICROPY_PY_SYS_STDFILES (1)
|
#define MICROPY_PY_SYS_STDFILES (1)
|
||||||
#define MICROPY_PY_UBINASCII (1)
|
#define MICROPY_PY_UBINASCII (1)
|
||||||
#define MICROPY_PY_UCTYPES (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_UJSON (1)
|
||||||
#define MICROPY_PY_MICROPYTHON_MEM_INFO (1)
|
#define MICROPY_PY_MICROPYTHON_MEM_INFO (1)
|
||||||
#define MICROPY_CPYTHON_COMPAT (0)
|
#define MICROPY_CPYTHON_COMPAT (0)
|
||||||
|
|
Loading…
Reference in New Issue