diff options
| author | Jeff Epler <jepler@gmail.com> | 2021-01-12 09:23:07 -0600 |
|---|---|---|
| committer | Jeff Epler <jepler@gmail.com> | 2021-01-12 09:23:07 -0600 |
| commit | 1ca29ec47c9f51589faa151b659dfd1dd4a349ef (patch) | |
| tree | 0a2e35b45a52e85f258cc522615e37965b0453d3 /py/circuitpy_mpconfig.h | |
| parent | e20c65d8f044cb9522cd1a7f4a3030efefa77cbb (diff) | |
| parent | 047708e36e67beee14771120296cdf758f00601d (diff) | |
Merge remote-tracking branch 'origin/main' into audioout-esp32
Diffstat (limited to 'py/circuitpy_mpconfig.h')
| -rw-r--r-- | py/circuitpy_mpconfig.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/py/circuitpy_mpconfig.h b/py/circuitpy_mpconfig.h index 08c92a77e..a3411b7ad 100644 --- a/py/circuitpy_mpconfig.h +++ b/py/circuitpy_mpconfig.h @@ -774,6 +774,13 @@ extern const struct _mp_obj_module_t wifi_module; #define WIFI_MODULE #endif +#if CIRCUITPY_MSGPACK +extern const struct _mp_obj_module_t msgpack_module; +#define MSGPACK_MODULE { MP_ROM_QSTR(MP_QSTR_msgpack), MP_ROM_PTR(&msgpack_module) }, +#else +#define MSGPACK_MODULE +#endif + // Define certain native modules with weak links so they can be replaced with Python // implementations. This list may grow over time. #define MICROPY_PORT_BUILTIN_MODULE_WEAK_LINKS \ @@ -830,6 +837,7 @@ extern const struct _mp_obj_module_t wifi_module; _EVE_MODULE \ MEMORYMONITOR_MODULE \ MICROCONTROLLER_MODULE \ + MSGPACK_MODULE \ NEOPIXEL_WRITE_MODULE \ NETWORK_MODULE \ SOCKET_MODULE \ |
