diff options
| author | Scott Shawcroft <scott.shawcroft@gmail.com> | 2016-11-28 19:48:17 -0800 |
|---|---|---|
| committer | Scott Shawcroft <scott.shawcroft@gmail.com> | 2016-11-28 19:48:17 -0800 |
| commit | 55c8c91e07c18c9e2d4ede8b41a16d88d2fe5ea4 (patch) | |
| tree | 8afd4a9facfe7f3f10e2bf16964a70ab9d6f30ee | |
| parent | 6292f937da085e5a43f780e8ce3b7d8225a8f2e4 (diff) | |
atmel-samd: Hook in bitbangio
| -rw-r--r-- | atmel-samd/mpconfigport.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/atmel-samd/mpconfigport.h b/atmel-samd/mpconfigport.h index c6dbdad3c..20c2c5f4d 100644 --- a/atmel-samd/mpconfigport.h +++ b/atmel-samd/mpconfigport.h @@ -113,6 +113,7 @@ typedef long mp_off_t; // extra built in modules to add to the list of known ones extern const struct _mp_obj_module_t microcontroller_module; +extern const struct _mp_obj_module_t bitbangio_module; extern const struct _mp_obj_module_t nativeio_module; extern const struct _mp_obj_module_t board_module; extern const struct _mp_obj_module_t uos_module; @@ -122,6 +123,7 @@ extern const struct _mp_obj_module_t uheap_module; #define MICROPY_PORT_BUILTIN_MODULES \ { MP_OBJ_NEW_QSTR(MP_QSTR_microcontroller), (mp_obj_t)µcontroller_module }, \ + { MP_OBJ_NEW_QSTR(MP_QSTR_bitbangio), (mp_obj_t)&bitbangio_module }, \ { MP_OBJ_NEW_QSTR(MP_QSTR_nativeio), (mp_obj_t)&nativeio_module }, \ { MP_OBJ_NEW_QSTR(MP_QSTR_board), (mp_obj_t)&board_module }, \ { MP_OBJ_NEW_QSTR(MP_QSTR_uos), (mp_obj_t)&uos_module }, \ |
