diff options
author | Dave Hylands <dhylands@gmail.com> | 2015-01-15 21:45:21 -0800 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2015-01-21 00:11:04 +0000 |
commit | d7f199465f229e95b1ac1a1b6b74a3e0ce1f98c7 (patch) | |
tree | af0abe2241e41e74387da448d2ba0f30aad5f1a1 /stmhal/modpyb.c | |
parent | 73533247cb2602c968229d2c102e925c5b702677 (diff) |
stmhal: Add support for FEZ Cerb40 II board from ghielectronics.com.
Diffstat (limited to 'stmhal/modpyb.c')
-rw-r--r-- | stmhal/modpyb.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/stmhal/modpyb.c b/stmhal/modpyb.c index 64712ad30..292e7965d 100644 --- a/stmhal/modpyb.c +++ b/stmhal/modpyb.c @@ -573,7 +573,9 @@ STATIC const mp_map_elem_t pyb_module_globals_table[] = { { MP_OBJ_NEW_QSTR(MP_QSTR_SD), (mp_obj_t)&pyb_sdcard_obj }, #endif +#if defined(MICROPY_HW_LED1) { MP_OBJ_NEW_QSTR(MP_QSTR_LED), (mp_obj_t)&pyb_led_type }, +#endif { MP_OBJ_NEW_QSTR(MP_QSTR_I2C), (mp_obj_t)&pyb_i2c_type }, { MP_OBJ_NEW_QSTR(MP_QSTR_SPI), (mp_obj_t)&pyb_spi_type }, { MP_OBJ_NEW_QSTR(MP_QSTR_UART), (mp_obj_t)&pyb_uart_type }, |