summaryrefslogtreecommitdiff
path: root/py/circuitpy_mpconfig.h
diff options
context:
space:
mode:
authorScott Shawcroft <scott@tannewt.org>2020-08-13 16:55:49 -0700
committerScott Shawcroft <scott@tannewt.org>2020-08-19 14:23:28 -0700
commit430530c74ba0780b2afb232756d3f5cd3b417179 (patch)
treec7df4950ad10bd2dac6ea8dce050431f43c4c8f5 /py/circuitpy_mpconfig.h
parenteb2c38825edfe28007c2bc6c37bdb0a3269f27e7 (diff)
SSL works until it runs out of memory
Diffstat (limited to 'py/circuitpy_mpconfig.h')
-rw-r--r--py/circuitpy_mpconfig.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/py/circuitpy_mpconfig.h b/py/circuitpy_mpconfig.h
index 846328dcd..b2543dcad 100644
--- a/py/circuitpy_mpconfig.h
+++ b/py/circuitpy_mpconfig.h
@@ -588,6 +588,13 @@ extern const struct _mp_obj_module_t socketpool_module;
#define SOCKETPOOL_MODULE
#endif
+#if CIRCUITPY_SSL
+extern const struct _mp_obj_module_t ssl_module;
+#define SSL_MODULE { MP_OBJ_NEW_QSTR(MP_QSTR_ssl), (mp_obj_t)&ssl_module },
+#else
+#define SSL_MODULE
+#endif
+
#if CIRCUITPY_STAGE
extern const struct _mp_obj_module_t stage_module;
#define STAGE_MODULE { MP_OBJ_NEW_QSTR(MP_QSTR__stage), (mp_obj_t)&stage_module },
@@ -773,6 +780,7 @@ extern const struct _mp_obj_module_t wifi_module;
SDIOIO_MODULE \
SHARPDISPLAY_MODULE \
SOCKETPOOL_MODULE \
+ SSL_MODULE \
STAGE_MODULE \
STORAGE_MODULE \
STRUCT_MODULE \