diff options
| author | Kamil Tomaszewski <kamil.tomaszewski@sony.com> | 2020-09-02 15:42:57 +0200 |
|---|---|---|
| committer | Kamil Tomaszewski <kamil.tomaszewski@sony.com> | 2020-09-14 13:11:15 +0200 |
| commit | 064c597b60d7394216d9c36080b7ee8ff089cb53 (patch) | |
| tree | cc6b88fc33f043cd6fbbc9d52102fb1390ccb0fc /py/circuitpy_mpconfig.h | |
| parent | 814339abb952cd17da8f31c273315eaf9d075c43 (diff) | |
camera: Implement new library for camera
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 0fafbe876..4272de2ec 100644 --- a/py/circuitpy_mpconfig.h +++ b/py/circuitpy_mpconfig.h @@ -329,6 +329,13 @@ extern const struct _mp_obj_module_t busio_module; #define BUSIO_MODULE #endif +#if CIRCUITPY_CAMERA +extern const struct _mp_obj_module_t camera_module; +#define CAMERA_MODULE { MP_OBJ_NEW_QSTR(MP_QSTR_camera), (mp_obj_t)&camera_module }, +#else +#define CAMERA_MODULE +#endif + #if CIRCUITPY_COUNTIO extern const struct _mp_obj_module_t countio_module; #define COUNTIO_MODULE { MP_OBJ_NEW_QSTR(MP_QSTR_countio), (mp_obj_t)&countio_module }, @@ -758,6 +765,7 @@ extern const struct _mp_obj_module_t wifi_module; BLEIO_MODULE \ BOARD_MODULE \ BUSIO_MODULE \ + CAMERA_MODULE \ COUNTIO_MODULE \ DIGITALIO_MODULE \ DISPLAYIO_MODULE \ |
