aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien George2018-06-27 16:42:35 +1000
committerDamien George2018-06-27 16:45:22 +1000
commitbc6c56d75d1b954b42b01dc8e10e283523b2e902 (patch)
treecbb16fe9b522a45959113d42e7f2b040508e97e7
parent8769a3e38cea5b9c7e3c44b99dec0deb94ff77f7 (diff)
esp8266/mpconfigport.h: Enable ucryptolib module for standard build.
It remains disabled for the 512k build.
-rw-r--r--ports/esp8266/mpconfigport.h1
-rw-r--r--ports/esp8266/mpconfigport_512k.h3
2 files changed, 4 insertions, 0 deletions
diff --git a/ports/esp8266/mpconfigport.h b/ports/esp8266/mpconfigport.h
index 97b309086..a5b149d80 100644
--- a/ports/esp8266/mpconfigport.h
+++ b/ports/esp8266/mpconfigport.h
@@ -69,6 +69,7 @@
#define MICROPY_PY_UCTYPES (1)
#define MICROPY_PY_UHASHLIB (1)
#define MICROPY_PY_UHASHLIB_SHA1 (MICROPY_PY_USSL && MICROPY_SSL_AXTLS)
+#define MICROPY_PY_UCRYPTOLIB (1)
#define MICROPY_PY_UHEAPQ (1)
#define MICROPY_PY_UTIMEQ (1)
#define MICROPY_PY_UJSON (1)
diff --git a/ports/esp8266/mpconfigport_512k.h b/ports/esp8266/mpconfigport_512k.h
index dc97efd35..60c14883e 100644
--- a/ports/esp8266/mpconfigport_512k.h
+++ b/ports/esp8266/mpconfigport_512k.h
@@ -32,6 +32,9 @@
#undef MICROPY_PY_FRAMEBUF
#define MICROPY_PY_FRAMEBUF (0)
+#undef MICROPY_PY_UCRYPTOLIB
+#define MICROPY_PY_UCRYPTOLIB (0)
+
#undef mp_import_stat
#undef mp_builtin_open
#undef mp_builtin_open_obj