summaryrefslogtreecommitdiff
path: root/py/circuitpy_mpconfig.h
diff options
context:
space:
mode:
authorScott Shawcroft <scott@tannewt.org>2020-08-10 17:56:49 -0700
committerScott Shawcroft <scott@tannewt.org>2020-08-19 14:22:13 -0700
commit3860991111511a9e4a60ea24f208b8de8f801ce7 (patch)
tree224b8820b24be8f521ec3e6ac6a83af5d40a9365 /py/circuitpy_mpconfig.h
parentc53a72d3f5ed1f556637ebc3eca2ad27e8eb9fff (diff)
Ping work and start to add socketpool
Diffstat (limited to 'py/circuitpy_mpconfig.h')
-rw-r--r--py/circuitpy_mpconfig.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/py/circuitpy_mpconfig.h b/py/circuitpy_mpconfig.h
index f2789ee58..846328dcd 100644
--- a/py/circuitpy_mpconfig.h
+++ b/py/circuitpy_mpconfig.h
@@ -573,6 +573,7 @@ extern const struct _mp_obj_module_t sdioio_module;
#define SDIOIO_MODULE
#endif
+
#if CIRCUITPY_SHARPDISPLAY
extern const struct _mp_obj_module_t sharpdisplay_module;
#define SHARPDISPLAY_MODULE { MP_OBJ_NEW_QSTR(MP_QSTR_sharpdisplay),(mp_obj_t)&sharpdisplay_module },
@@ -580,6 +581,13 @@ extern const struct _mp_obj_module_t sharpdisplay_module;
#define SHARPDISPLAY_MODULE
#endif
+#if CIRCUITPY_SOCKETPOOL
+extern const struct _mp_obj_module_t socketpool_module;
+#define SOCKETPOOL_MODULE { MP_OBJ_NEW_QSTR(MP_QSTR_socketpool), (mp_obj_t)&socketpool_module },
+#else
+#define SOCKETPOOL_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 },
@@ -764,6 +772,7 @@ extern const struct _mp_obj_module_t wifi_module;
SDCARDIO_MODULE \
SDIOIO_MODULE \
SHARPDISPLAY_MODULE \
+ SOCKETPOOL_MODULE \
STAGE_MODULE \
STORAGE_MODULE \
STRUCT_MODULE \